+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Adding Tabs in a Page

Adding Tabs in a Page

3 posts, 1 answered
  1. Prateek
    Prateek avatar
    12 posts
    Registered:
    11 Sep 2012
    08 May 2013
    Link to this post
    I need to have multiple tabs on a page, so that I can display different content under different tabs. 
    I have achieved it by adding the following code using RadTabStrip. 

    <telerik:RadTabStrip ID="RadTabStrip1"  runat="server" MultiPageID="RadMultiPage1"> 
                                   <Tabs> 
                                       <telerik:RadTab runat="server" Text="Tab1">
                                       </telerik:RadTab> 
                                       <telerik:RadTab runat="server" Text="Tab2"> 
                                       </telerik:RadTab> 
                                  </Tabs> 
    </telerik:RadTabStrip> 
    <telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0" Width="400"> 
                         <telerik:RadPageView id="Pageview1" runat="server"> 
                                  <asp:ContentPlaceHolder runat="server" ID="ph1"></asp:ContentPlaceHolder> 
                         </telerik:RadPageView> 
                         <telerik:RadPageView id="Pageview2" runat="server"> 
                                 <asp:ContentPlaceHolder runat="server" ID="ph2"></asp:ContentPlaceHolder> 
                          </telerik:RadPageView>  
    </telerik:RadMultiPage>

    But here the title for every tab is fix. I am not able to have a custom title which can be changed by a back end User. Any ideas on how to achieve it?
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    Answered
  3. Prateek
    Prateek avatar
    12 posts
    Registered:
    11 Sep 2012
    08 May 2013
    Link to this post
    Thanks a lot Steve.
    It works great!
3 posts, 1 answered