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

Access Controls inside a tabstrip via Javascript

1 Answer 19 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 23 Mar 2009, 07:56 PM
I need to enable/diable editor inside a tab based upon the checkbox in the same tab. How I recognise the checkbox and the editor controls. I try to use $find and receive error. Please advice

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 25 Mar 2009, 01:40 PM
Hi Raymond,

You should be able to locate the editor control using the following syntax:

var editor = $find("<%= RadEditor1.ClientID %>");

To locate a checkbox you should use the $get routine as the checkbox element is not an ASP.NET Ajax control:

var checkBox = $get("<%= CheckBox1.ClientID %>");

Regards,
Albert
the Telerik team

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