recursive (de)selection client-side

3 posts, 0 answers
  1. JP
    JP avatar
    120 posts
    Member since:
    Aug 2011

    Posted 28 Apr 2014 Link to this post

    Hello,

    I want to implement client-side recursive (de)selection. This works so far, but I have a problem regarding the deselecting:

    1) If a user selects a parent node, all children get selected (works fine)
    2) If a user deselects a parent node, all children get deselected (works fine)
    3) If a children gets deselected, the parent node gets deselected. Here is the problem: The parent node gets deselected, which triggers the children of the parent to be deselected (because of 2.)

    How can I determine if an itemDeselected client-side event is triggered because of the user to (un)check an item or if it was triggered internally, because of me setting the selected state?

    Thanks!
  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 01 May 2014 Link to this post

    Hello Jan-Patrick,

    Thank you for the provided explanation.

    We will prepare a sample RadTreeList web site to demonstrate how you can implement the requested functionality and send it to you when ready.

    Thank you for your patience in advance.

    Regards,
    Eyup
    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 Ajax is Ready for VS 2017
  4. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 09 May 2014 Link to this post

    Hi Jan-Patrick,

    Thank you again for your patience.

    Please check the following sample and let me know if it helps you:
    http://www.telerik.com/support/code-library/recursive-selection-on-the-client-when-paging-is-disabled

    Looking forward to your reply.

    Regards,
    Eyup
    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.

     
Back to Top