Hi,
I have RadTabStrip and RadMultiPage and i am adding some new Tabs and RadPageViews on Page load. Here is my code
RadTab objChildTab = new RadTab();
objChildTab.Text = "Tab1";
objChildTab.Value = "BAC";
objChildTab.PageViewID = "Page1";
objRadTabStrip.Tabs.Add(objChildTab);
Note : Here i am able to add Tabs to objRadTabStrip.
RadPageView pageView = new RadPageView();
pageView.ID = "Page1";
pageView.Height = 500;
objRadMultiPage.PageViews.Add(pageView);
But Here i getting error :
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases
Kindly help me to identify that RadTabStrip is allowing me to add new Tabs but RadMultiPage is not allowing me to add new RadPageViews.
Thanks,
Susheel