This is a migrated thread and some comments may be shown as answers.

Adding tab to tabstrip in masterpage from contentpage which activates RadPageView in content page

2 Answers 92 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
GrZeCh
Top achievements
Rank 2
GrZeCh asked on 28 Jul 2008, 11:40 AM
Hello!

I'm adding new tab to RadTabStrip located in masterpage from contentpage codebehind  and now I have problem. How can I bind this tab to RadPageView located in contentpage?

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 28 Jul 2008, 01:07 PM
Hello GrZeCh,

Please find attached a sample web application that shows the needed approach.

Greetings,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
GrZeCh
Top achievements
Rank 2
answered on 28 Jul 2008, 01:28 PM
Setting MultiPageID from contentpage for RadTabStrip helped me. This is how it looks:

RadTabStrip mainRadTabStrip = (RadTabStrip)Page.Master.FindControl("mainRadTabStrip"); 
mainRadTabStrip.MultiPageID = profileRadMultiPage.UniqueID; 
mainRadTabStrip.Tabs.Add(new RadTab("friends") { Page = this, PageViewID = "friendsRadPageView" }); 

Thanks for help
Tags
TabStrip
Asked by
GrZeCh
Top achievements
Rank 2
Answers by
Paul
Telerik team
GrZeCh
Top achievements
Rank 2
Share this question
or