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

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

1 Answer 84 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Javier asked on 06 Oct 2011, 10:56 PM
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.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 11 Oct 2011, 08:58 AM
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
Tags
TreeList
Asked by
Javier
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or