Decorating RadTreeView

3 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    579 posts
    Member since:
    Mar 2004

    Posted 19 Oct 2015 Link to this post

    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. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 22 Oct 2015 Link to this post

    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.
  3. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1502 posts

    Posted 22 Oct 2015 Link to this post

    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.
Back to Top