RadTreeList, how to set the control enable or disable using Javascript

2 posts, 0 answers
  1. Javier
    Javier avatar
    4 posts
    Member since:
    Oct 2011

    Posted 06 Oct 2011 Link to this post

    I'm currently using a RadTreeList control and I want to enable this control by a function in Javascript, how can i do that?
    Another way to solve my problem is, how can i select a specified row from a radtreelistview searching by the ID control.
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 11 Oct 2011 Link to this post

    Hi Javier,

    I'm afraid I cannot fully understand your exact question/scenario. Could you please elaborate a bit more on your requirements. What do you mean by enable the RadTreeList? Do you want to enable/disable some controls into the RadTreeList?
    Regarding your second question:
    You could get the client side dataitems objects and call set_selected(bool) function which will selected the RadTreeList row. For more information please check out the following online documentation articles:
    http://www.telerik.com/help/aspnet-ajax/treelist-class-members.html
    http://www.telerik.com/help/aspnet-ajax/treelist-dataitem-class-members.html

    Please give it try and let me know if you experience any problems. Looking forward for your reply.

    Regards,
    Radoslav
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top