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

OnClientSelectedIndexChanged Event on a dynamically loaded tab content

2 Answers 63 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
rei
Top achievements
Rank 1
rei asked on 19 Aug 2009, 02:41 AM
Hi,

I have created a TabStrip where the content each tab is loaded on demand as shown on the demos. The content  of each tab is a User Control and added at runtime through the PageViewCreated event.

Each tab loads as expected but when I tried to attach an OnClientSelectedIndexChanged event (combo1_selected ) to a combo box on the second tab it displayed a "combo1_selected" is undefined.  The script for this event is defined in the user control.

I tried to add this user control to a separate webform and it works fine.

Please help.

Thank you very much,
rei

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 19 Aug 2009, 06:46 AM
Hello rei,

Please refer to this forum post for useful hints on the matter.

Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
rei
Top achievements
Rank 1
answered on 19 Aug 2009, 09:39 AM
Thanks
Tags
TabStrip
Asked by
rei
Top achievements
Rank 1
Answers by
Paul
Telerik team
rei
Top achievements
Rank 1
Share this question
or