Hi,
i have written code to add new tab and the code is :
RadTabStrip objRadTabStrip = (RadTabStrip)Page.Master.FindControl("DefaultContent").FindControl("radTabStrip1");
RadTab objChildTab = new RadTab();
objChildTab.Text = objTabItem.TabText;
objChildTab.Value = objTabItem.TabValue;
objChildTab.PageViewID = objTabItem.PageViewID;
objChildTab.ToolTip = objTabItem.TabURL;
objRadTabStrip.Tabs.Add(objChildTab);
objRadTabStrip.DataBind();
this code is written on button click which is present on user control(.ascx) page.
user control is called in demo.aspx page and this demo.aspx page is called from some other page.
So when i add new tab at that time it not visible on UI but if i refresh the whole page the it gets visible and it takes too much time to refresh full page.
I want as soon as i click on add new tab button the newly crated tab should be visible on UI.
Please help me to do this.
i have written code to add new tab and the code is :
RadTabStrip objRadTabStrip = (RadTabStrip)Page.Master.FindControl("DefaultContent").FindControl("radTabStrip1");
RadTab objChildTab = new RadTab();
objChildTab.Text = objTabItem.TabText;
objChildTab.Value = objTabItem.TabValue;
objChildTab.PageViewID = objTabItem.PageViewID;
objChildTab.ToolTip = objTabItem.TabURL;
objRadTabStrip.Tabs.Add(objChildTab);
objRadTabStrip.DataBind();
this code is written on button click which is present on user control(.ascx) page.
user control is called in demo.aspx page and this demo.aspx page is called from some other page.
So when i add new tab at that time it not visible on UI but if i refresh the whole page the it gets visible and it takes too much time to refresh full page.
I want as soon as i click on add new tab button the newly crated tab should be visible on UI.
Please help me to do this.