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

Multiple tabs , contents on second Tab not refreshed

1 Answer 177 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
sudhakar asked on 13 Aug 2010, 04:27 AM
Hello Team,

I have a problem in refreshing the Tabs selection. Problem description as below.

1) I have two tabs (Tab1 , Tab2) . There is a textbox and a button on Tab1, when the user clicks on button it should redirect the user to Tab2 to show some additional controls and data.

2) Currently i can select the  Tab2 but the contents on page view are still from Tab1 and not Tab 2.

Please help me in solving this problem..I have seen all the articles provided by telerik but none seems solving the issue.

Awaiting for your replies.

Below is the sample code given.
<telerik:RadTabStrip ID="tabRawReliable" runat="server" Skin="Simple" MultiPageID="RadMultiPage1" SelectedIndex="0">
<telerik:RadTab text="Tab1" Value="View" Font-Bold="true" PageViewID="PageView1"/>
<telerik:RadTab text="Tab2" Value="Edit" PageViewID="RadPageView2"/>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">
 <telerik:RadPageView ID="PageView1" runat="server" >
<asp:TextBox id ="txt1" runat="server"/>
<asp:ImageButton  ID="imgAddNew" runat="server" />
<telerik:RadPageView ID="RadPageView2" runat="server">
<asp:TextBox id ="txt1" runat="server"/>
<asp:TextBox id ="txt2" runat="server"/>
<asp:TextBox id ="txt3" runat="server"/>
<asp:TextBox id ="txt4" runat="server"/>
<asp:Button  ID="Submit" runat="server" />
</telerik:RadPageView>                               </telerik:RadMultiPage>                                                               


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 16 Aug 2010, 04:33 PM
Hello Sudhakar,

You just need to set SelectedIndex property of the multipage to "1" - the index of the second pageview. Also if you have RadAjaxManager, make sure  that the settings allow the button to update the multipage.

All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question