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

Find TabControl With UserControl

1 Answer 73 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 23 Nov 2008, 02:07 PM

I have a webpage with (7) tabs and (7) user controls. Within usercontrol (6) codebehind page I need to know what the current tab is as some objects are shared within controls and change logic associated with the particular selected tab.

Again, within a usercontrol, code behind page I need to be able to get a reference to the tabstrip and then find out what tab is selected. To make matters worse the code I am working with is VB.NET and I have only experience with C#, so a sample with VB.NET would help but not necessary, don't know if the code would even be that different.

I have tried various ideas received from googling and none seem to work, or correct, ie don't compile, etc.

Thanks!

JimDougals

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 24 Nov 2008, 03:27 PM
Hi James,

Please find attached a sample web application that shows the needed approach.

Best wishes,
Paul
the Telerik team

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