This is a migrated thread and some comments may be shown as answers.

Tab selection does not change on clicking

1 Answer 164 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
drinell
Top achievements
Rank 1
drinell asked on 28 Jan 2009, 07:57 PM
Hi,
I use a tabstrip in conjunction with a Multipage in my project.
The following is a snippet showing relevant ASPX code
TabStrip
<telerik:RadTabStrip ID="rtsMine" runat="server" MultiPageID="rmpMine" OnClientTabSelecting="OnSelecting" 
            OnTabClick="rtsMine_TabClick" Width="100%" SelectedIndex="0">  
          
        <Tabs> 
       <telerik:RadTab PageViewID="rpvMineCoreData" Text="Mine Core Data" runat="server" Value="MineCoreData">  
       </telerik:RadTab> 
       <telerik:RadTab PageViewID="rpvMineDetails" Text="Mine Details" runat="server" Value="MineDetails">  
       </telerik:RadTab> 
</Tabs> 
</telerik:RadTabStrip> 
Multipage
<telerik:RadMultiPage ID="rmpMine" runat="server" Width="100%" SelectedIndex="0">  
          
        <telerik:RadPageView ID="rpvMineCoreData" runat="server" Width="100%">  
        <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
            cellpadding="2">  
        <tr><td class="fieldheader">Segments</td></tr>  
        </table> 
        </telerik:RadPageView> 
            <telerik:RadPageView ID="rpvSKUDetails" runat="server" Width="100%">  
            <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
            cellpadding="2">  
        <tr><td class="fieldheader" colspan="2">  
            Additional Details</td></tr>  
    </telerik:RadPageView> 
</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 

http://www.telerik.com/help/aspnet-ajax/get-previously-selected-tab.html )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 (http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/tab-contents-are-not-displayed-on-initial-load.aspx) Please can you help me sort this out?
Thanks,
Sreejath

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 02 Feb 2009, 01:31 PM
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,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
drinell
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or