Treeview ensure that parent are checked when child are checked

2 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    20 posts
    Member since:
    Apr 2014

    Posted 11 Aug 2014 Link to this post

    Hi,

    I'm using a treeview with the checkbox to allow the user the choices of the sections to put in a report.  The problem is that if the user check of the child all the parents should also be included. So what I need is a way to check all the parentfor the user when he select a child and unckeck all childs when a parent un uncheck. Any idea on how I can achieve this?
  2. Daniel
    Admin
    Daniel avatar
    2118 posts

    Posted 13 Aug 2014 Link to this post

    Hello,

    You can use the dataSource change event in order to implement the described behavior. I created an example that demonstrates this scenario. 

    Regards,
    Daniel
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top