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

Change selected tab via vb

1 Answer 72 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 12 Jul 2010, 06:07 PM
Hi
We are tearing our hair out over getting the selected tab to change on a tabstrip after running some vb code. We are loading ascx's on demand using an adapted version of the Telerik demo. It all works fine - the ascx loads, populates itself, etc and shows on the multipage - but we are loading each ascx in a different tab and we cannot get the tabstrip selection to change. For example, we can press a search button on the ascx in the search tab and we then load a grid ascx which should appear on the list tab. The grid loads but the search tab still has red text (our "selected" font setting).

Even Telerik support have not been able to show us how to do this - - they re-write the page to use their demo mothod, but this does not give us the full functionality we are looking for. All the rest of our functionality is fine so we don't want to lose this.

Does ANYONE know how we can write a line of code in vb that will make the seleted tab change on the tabstrip? We have tried:

    myTab = myTabstrip.FindTabByValue(strCurrentMode)        'finds the correct tab

    myTab.Selected =

True

 


In hope,   Neil

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Jul 2010, 02:44 PM
Hello Neil,

We're sorry for the frustration you got. We'll try our best to help you fix the issues with the project as soon as possible.

Kind regards,
Yana
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
Tags
TabStrip
Asked by
Neil
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or