Initially selected tab never shows corresponding PageView after moving selection to another tab

2 posts, 0 answers
  1. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 26 Apr 2012 Link to this post

    Use example from http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-integrate-with-tabstrip.html

    After opening 3d tab in ie, 1st tab will never show again.
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 30 Apr 2012 Link to this post

    Hi Max,

    The reason for the experienced behavior is a typo in our documentation, please try the following implementation:
    <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1"
               Skin="Outlook" CssClass="NoBg">
               <Tabs>
                   <telerik:RadTab runat="server" Selected="True" Text="Root RadTab1" PageViewID="PageView1">
                   </telerik:RadTab>
                   <telerik:RadTab runat="server" Text="Root RadTab2" PageViewID="PageView2">
                   </telerik:RadTab>
                   <telerik:RadTab runat="server" Text="Root RadTab3" PageViewID="PageView3">
                   </telerik:RadTab>
               </Tabs>
           </telerik:RadTabStrip>
           <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Width="400">
               <telerik:RadPageView ID="Pageview1" runat="server">
                   Name: John Smith<br />
                   Birthday: October 20th 1976<br />
                   Marital Status: Single
                   <br />
               </telerik:RadPageView>
               <telerik:RadPageView ID="Pageview2" runat="server">
                   ... Content of the Pageview2 ...
               </telerik:RadPageView>
               <telerik:RadPageView ID="Pageview3" runat="server" ContentUrl="http://www.telerik.com">
                   This text is never shown
               </telerik:RadPageView>
           </telerik:RadMultiPage>

    As a token of gratitude for reporting this problem your Telerik points are updated.

    Greetings,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top