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

3 posts, 1 answers
  1. GrZeCh
    GrZeCh avatar
    98 posts
    Member since:
    Dec 2007

    Posted 28 Jul 2008 Link to this post

    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. Answer
    Paul
    Admin
    Paul avatar
    4281 posts

    Posted 28 Jul 2008 Link to this post

    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.
  3. GrZeCh
    GrZeCh avatar
    98 posts
    Member since:
    Dec 2007

    Posted 28 Jul 2008 Link to this post

    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
Back to Top