Hello ,
I want to create a new tab in my radtabstrip with it's needed radpageview while i run my project.
This is my code for the program :
"Default5.aspx" is a page of my website that i created it before
Now i want to load this page in the new radpageview with clicking on the new tab
It seems my code is true but it doesn't work
I don't know , Where is it's wrong !!?
Please tell me what's wrong with my code!
Reply me as soon as possible :-s
Thanks alot
Hassan
I want to create a new tab in my radtabstrip with it's needed radpageview while i run my project.
This is my code for the program :
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
RadTab tab = new RadTab("New tab");
RadPageView pageview = new RadPageView();
pageview.ID = "NewRadPageView";
pageview.ContentUrl = "Default5.aspx";
RadMultiPage1.PageViews.Add(pageview);
tab.PageViewID = pageview.ID;
RadTabStrip1.Tabs.Add(tab);
}
}
"Default5.aspx" is a page of my website that i created it before
Now i want to load this page in the new radpageview with clicking on the new tab
It seems my code is true but it doesn't work
I don't know , Where is it's wrong !!?
Please tell me what's wrong with my code!
Reply me as soon as possible :-s
Thanks alot
Hassan