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

Dynamic selection of tab

3 Answers 68 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Thanigaivel
Top achievements
Rank 1
Thanigaivel asked on 28 Apr 2011, 04:16 PM

Hi

I have scenario like this please let me know if you have any samples  related to this

i have two pages say Page1 and Page2

In Page 2 i have four tabs say (Tab1, Tab2, Tab3, Tab4) which is implemented using RadTab

in Page 1 i have four link (Link1, link2, link3, link4). If i select link1 it will navigate to page 2 and select the tab1 and similarly for other link as well

let me know if you have any samples on Dynamic selection of tab.

Thanks & regards
Thanigaivel P S

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 03 May 2011, 07:39 PM
Hello Thanigaivel,

You can bind the RadTabControl.SelectedIndex property and change it when clicking the links that should load the RadTabControl.

I attached a sample project illustrating an MVVM approach towards your scenario. Please have a look at it and let me know if it helps or if I can further assist you.

Kind regards,
Tina Stancheva
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
0
Mahesh
Top achievements
Rank 1
answered on 07 Dec 2011, 11:07 AM
Hi,
      I am trying to integrate TabScript as a navigation wizard in my application by helping below link

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx

This example have only "NEXT" option so here i need previous option as well so i have tried with PREVIOUS option as same as NEXT functionality . My code is executing without any errors but Tab selection is not happening when we click on PREVIOUS button (Dynamic). The Tab selection is good when we click on Tabs manually.

 Could you please tell me any solution for selecting Tabs dynamically?

Thanks
Mahesh Gorle
0
Mahesh
Top achievements
Rank 1
answered on 07 Dec 2011, 01:49 PM
Its resolved by adding below line of code. 

RadMultiPage.PageViews.Clear();

Thanks!
Tags
TabControl
Asked by
Thanigaivel
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Mahesh
Top achievements
Rank 1
Share this question
or