$find() does not find checkbox?

5 posts, 1 answers
  1. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 15 Apr 2009 Link to this post

    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
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 15 Apr 2009 Link to this post

    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.
  3. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 15 Apr 2009 Link to this post

    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
  4. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 15 Apr 2009 Link to this post

    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.
  5. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 15 Apr 2009 Link to this post

    Thanks
Back to Top