Make Client API work more like jQuery

2 posts, 0 answers
  1. Osvaldo
    Osvaldo avatar
    2 posts
    Member since:
    Aug 2011

    Posted 18 Jun 2012 Link to this post

    Is there any way to make the Client API work more like jQuery.

    Instead of use:

    $find("<%= TXT.ClientID %>")

  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 19 Jun 2012 Link to this post

    Hi Osvaldo,

    RadControls for ASP.NET AJAX are built on top of the MS AJAX Framework and that is why their client-side API follows the conventions of the AJAX Framework. As these are server controls and they implement the IScriptControl interface, you should to use the $find() method to access them. Once you have access to the component client-side object, you can use its public client-side and server-side properties to manipulate it.
    It's hard to change the current APIs as this would lead to introducing breaking changes in the controls. However when making new components or new methods and properties, we will do our best to make them simpler.

    Hope this helps.

    All the best,
    Iana Tsolova
    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.
Back to Top