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

Determining tab selected from button in tab template

1 Answer 41 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 02 Mar 2012, 10:38 PM
I have a tabstrip that has an ImageButton assigned to each tabs tab template. The Image Buttons are used for exporting to excel. When the image button is clicked I want the method for the image button to reference the corresponding RadGrid to export. My question is, how do I determine which Tab the ImageButton is clicked on?

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 07 Mar 2012, 05:04 PM
Hello,

I've prepared a sample page showing how to access the corresponding tab of the clicked button both client-side and on the server.

All the best,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TabStrip
Asked by
Matthew
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or