Mar 05, 2013, 3:08 AM
[CLOSED] Error in adding tab using code behind
Dear Support,
When adding a tab and set it as the active tab using direct method from a child, a random error would be produced:
DirectMethod for adding tab in parent:
When adding a tab and set it as the active tab using direct method from a child, a random error would be produced:
u.width=j;u.height=o;if(!Ext.isIE){m=k.childNodes;c=Math.max(0,(p-12))+"px";
where j is -2pxDirectMethod for adding tab in parent:
[DirectMethod]
public void AddTab(string title, string URL)
{
Ext.Net.Panel Panel = new Ext.Net.Panel(title, Icon.PageWhiteText);
Panel.ID = title;
Panel.AutoLoad.NoCache = true;
Panel.AutoLoad.Mode = LoadMode.IFrame;
Panel.AutoLoad.Url = URL;
Panel.Closable = true;
TabPanelMain.Add(Panel);
Panel.Render();
TabPanelMain.SetActiveTab(Panel);
}
Please note that IE8 is used to run the application.
Last edited by Daniil; Mar 12, 2013 at 5:32 AM.
Reason: [CLOSED]