Tab selection not firing

2 posts, 0 answers
  1. jeevitha
    jeevitha avatar
    63 posts
    Member since:
    Sep 2008

    Posted 14 Dec 2009 Link to this post

    Hi,
    I have 3 tabs in my aspx page and assigned 2 Pageview for each tab. if i click the tab it working properly. I have button inside first Pageview to select the next tab. if i click that button the next tab shd be enabled. but its not working. The second tab is selected but still the content inside is the first Pageview

    <

     

    Tabs>

     

     

    <telerik:RadTab CssClass="divtabstrip" Text="Child Details" PerTabScrolling="true" PageViewID="PageviewParent"

     

     

    Value="Parent" TabIndex="0" runat="server" />

     

     

    <telerik:RadTab CssClass="divtabstrip" TabIndex="1" PerTabScrolling="true" Text="Emergency Contact and Other Details"

     

     

    PageViewID="Page1" Value="Emergency" runat="server" />

     

     

    <telerik:RadTab CssClass="divtabstrip" TabIndex="2" PerTabScrolling="true" Text="Medical Info" PageViewID="Page2"

     

     

    Value="Medical" runat="server" />

     

     

    </Tabs>

     


     

    <telerik:RadMultiPage EnableOutsideScripts="true" ID="radMultiPage" SelectedIndex="0"

     

     

    runat="server">

     

     

    <telerik:RadPageView ID="Page1" TabIndex="0" runat="server">

     

     

    </telerik:RadPageView>

     

    <telerik:RadPageView ID="Page2" TabIndex="0" runat="server">

     

     

    </telerik:RadPageView>

     


    ----------------------------

     

    protected void NextTab(object sender, EventArgs e)

     

    {


    radTab.SelectedIndex = 1;
    }

    Thanks,
    Jeevitha

  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 14 Dec 2009 Link to this post

    If you take a look at this demo, particularly the EducationCS.ascx.cs or any other tab's page's code-behind, you can find a sample of how to properly implement the switch through code.
Back to Top