Tab selection does not change on clicking

2 posts, 0 answers
  1. drinell
    drinell avatar
    9 posts
    Member since:
    Jun 2012

    Posted 28 Jan 2009 Link to this post

    I use a tabstrip in conjunction with a Multipage in my project.
    The following is a snippet showing relevant ASPX code
    1 <telerik:RadTabStrip ID="rtsMine" runat="server" MultiPageID="rmpMine" OnClientTabSelecting="OnSelecting" 
    2             OnTabClick="rtsMine_TabClick" Width="100%" SelectedIndex="0">  
    4         <Tabs> 
    5        <telerik:RadTab PageViewID="rpvMineCoreData" Text="Mine Core Data" runat="server" Value="MineCoreData">  
    6        </telerik:RadTab> 
    7        <telerik:RadTab PageViewID="rpvMineDetails" Text="Mine Details" runat="server" Value="MineDetails">  
    8        </telerik:RadTab> 
    9 </Tabs> 
    10 </telerik:RadTabStrip> 
    1 <telerik:RadMultiPage ID="rmpMine" runat="server" Width="100%" SelectedIndex="0">  
    3         <telerik:RadPageView ID="rpvMineCoreData" runat="server" Width="100%">  
    4         <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
    5             cellpadding="2">  
    6         <tr><td class="fieldheader">Segments</td></tr>  
    7         </table> 
    8         </telerik:RadPageView> 
    9             <telerik:RadPageView ID="rpvSKUDetails" runat="server" Width="100%">  
    10             <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
    11             cellpadding="2">  
    12         <tr><td class="fieldheader" colspan="2">  
    13             Additional Details</td></tr>  
    14     </telerik:RadPageView> 
    15 </telerik:RadMultiPage> 

    The page has a RadAjaxManager control and I have configured it so that the TabStrip has the proper UpdatedControls associated with it.
    I have also implemented the code to detect the previously selected tab (as explained here )and )and )and use it to update various controls and Session variables. Now, the problem is, the moment I tie the TabClick event to the TabStrip, I cannot navigate to another tab from the one that is selected. If I click on a different tab, the "Ajax submit" (for want of a better term) fires but the contents shown are that of the inital tab and not the newly selected one. I tried setting selected=True at the tab / page level instead of setting the SelectedIndex at the TabStrip/MultiPage level, but no luck.
    I set the Selected=True/SelectedIndex=0 per the reply to my earlier forum post here ( Please can you help me sort this out?

  2. Paul
    Paul avatar
    4281 posts

    Posted 02 Feb 2009 Link to this post

    Hi Sreejath,

    Unfortunately, the provided information does not help us much in reproducing the error. I'm afraid we could not be of much help unless we reproduce the issue on our side. It will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top