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

$find() does not find checkbox?

4 Answers 76 Views
Window
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 15 Apr 2009, 11:46 AM
I am trying to use code found in the "HowToModalDialog" sample application but I use Text boxes and check boxes.

Everything seems fine with the Text boxes but the javascript function find$() does not seem to find my checkboxes despite using the ClientId.
Is there any particular reason for this?
Does $find not support checkboxes?

Eric

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Apr 2009, 11:48 AM
Hi Eric,

The $find method is a built-in Ajax method which is used to reference AJAX client objects. I suggest to use either the document.getElementById or the $get method to reference the desired HTML elements.

Best wishes,
Svetlina
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
Eric
Top achievements
Rank 1
answered on 15 Apr 2009, 12:29 PM
Cool, did the trick.

I am struggling a bit to find documentation about the Ajax built-in functions...
If I look for $find in the Visual Studio doc, it returns nothing. Do you know where would be the best place for that type of documentation?

Many Thanks


Eric
0
Accepted
Svetlina Anati
Telerik team
answered on 15 Apr 2009, 12:33 PM
Hello Eric,

In my opinion the best sites where you can find AJAX documentation are the official ones as follows:

http://www.asp.net/ajax/documentation/live/
http://www.asp.net/AJAX/Documentation/Live/tutorials/ASPNETAJAXAndJavaScriptTutorials.aspx

I also suggest to use the MSDN for a reference in case of future problems.


Greetings,
Svetlina
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
Eric
Top achievements
Rank 1
answered on 15 Apr 2009, 12:36 PM
Thanks
Tags
Window
Asked by
Eric
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Eric
Top achievements
Rank 1
Share this question
or