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

Javascript not called in OnClientTabSelected

3 Answers 72 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jake
Top achievements
Rank 1
Jake asked on 11 Jul 2008, 06:36 PM
I have a RadTabStrip in which I call a javascript function like OnClientTabSelected="jsFunction"

When the page loads, all but the first tab are hidden and jsFunction is called just fine. Then, when other tabs are enabled and visible like

Tab.Visible = enable;
Tab.Enabled = enable;

jsFunction does not get called when a tab gets clicked. What is the best way to correct this?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Jul 2008, 10:27 AM
Hi Jake,

Thank you for contacting us.

I tested the described situation and wasn't able to see the problem.
Please check out the attached project for a reference.  In case this doesn't help, open a support ticket and send us a running project illustrating the problem.


Best wishes,
Yana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jake
Top achievements
Rank 1
answered on 14 Jul 2008, 07:10 PM
Hello Yana,

I forgot to mention that the tabs are contained within a RadAjaxPanel.

Thank you.
0
Yana
Telerik team
answered on 15 Jul 2008, 11:14 AM
Hi Jake,

I tested the project again, this time with RadTabStrip contained in RadAjaxPanel and still wasn't able to see the problem. Please find attached the modified project. Could you send us your project, so we can test it locally? You should open a support ticket to send us files.

All the best,
Yana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TabStrip
Asked by
Jake
Top achievements
Rank 1
Answers by
Yana
Telerik team
Jake
Top achievements
Rank 1
Share this question
or