Hello Raymond,
The problem in your code is that the
findControl() method returns a javascript object. Since RadTextBox has a client object, the function works as expected. The CheckBox element however doesn't have a client object, so the function returns null. What you need to do is get a reference to the DOM element of the checkbox. And to find one that resides only in the selected node, you can use the following jQuery:
Here I get the first checkbox element inside the node, which ID ends with CheckBox1. This selector searches for checkboxes only inside the node, pointed by the "
node" object. Please note that there is a space between
div and
[id$="CheckBox1"].
Regards,
Bozhidar
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