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

Getting Javascript / Jquery reference to controls in Grid - usercontrol

2 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bruce
Top achievements
Rank 1
Bruce asked on 13 Sep 2010, 03:03 PM
Hi,

I have a user control that is being used to edit items in a radGrid.  In the user control I have a customvalidator that uses a client-side script.  The script needs to reference to controls in the user control: a standard checkbox, and a telerik textbox.  The checkbox is fine as the client id doesn't change.  The textbox reference fails.  How can I get a reference to the Telerik text box?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Sep 2010, 03:34 PM
Hello Bruce,

Please go through the following code library link and see if it helps to achieve your goal:
Accessing server controls in a grid template on the client

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bruce
Top achievements
Rank 1
answered on 13 Sep 2010, 04:35 PM
I will give this technique a try.  Thanks,

Bruce
Tags
Grid
Asked by
Bruce
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Bruce
Top achievements
Rank 1
Share this question
or