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

Decorating RadTreeView

2 Answers 32 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 19 Oct 2015, 02:59 PM

I can't seem to get RadFormDecorator to decorate the checkboxes in RadTreeview. I see there are a bunch of forum threads dating back 7 years ago which seem to deal with some difficulty you had implementing this. I notice that RadTreeview is conspicuously missing from your TelerikControls integration demo at:

 http://demos.telerik.com/aspnet-ajax/formdecorator/examples/formdecoratorandtelerikcontrols/defaultvb.aspx

 

despite the description mentioning RadTreeView. I have a number of questions regarding this issue:

 

1) Can FormDecorator be used with RadTreeview? If so, is this a bug that the checkboxes do not get decorated?

2) If this integratoni si not currently possible, does Telerik have any intention of making it so FormDecorator works with RadTreeview? If so, can I expect this fix in my lifetime (the next 40+ years, hopefully).

 3) If not, it might be helpful if you mention in your Demos that FormDecorator does not work with RadTreeView.

2 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 22 Oct 2015, 11:28 AM
Hi Albert,

Thank you for contacting us.

Decorating checkboxes inside RadTreeView control with RadFormDecorator is not a supported scenario and we do not have plans to implement such integration. Nevertheless, you can find attached a sample page, which demonstrates two possible approaches for such integration:
   - Adding the decorator classes in the OnClientNodeChecking event handler.
   - Removing the preventDefault() method of the TreeView when a checkbox is decorated.

You are right, however, that the description of the demo mentions the RadTreeView control while the RadTreeList control is used in the example. I will fix the description. I have also updated your Telerik points for helping us improve the quality of our online resources.

Regards,
Danail Vasilev
Telerik
 
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
Danail Vasilev
Telerik team
answered on 22 Oct 2015, 12:25 PM
Hi Albert,

You may also find useful the following articles that illustrate which controls (Simple HTML elements, ASP.NET controls and Telerik UI for ASP.NET AJAX suite) can be decorated by the RadFormDecorator and the corresponding styling:

   - Integration With RadControls
   - Integration With Standard Controls

Regards,
Danail Vasilev
Telerik
 
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Tags
FormDecorator
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Danail Vasilev
Telerik team
Share this question
or