Raddropdowntree with checkboxes Q3 2014 SP1

3 posts, 0 answers
  1. Daniel
    Daniel avatar
    7 posts
    Member since:
    May 2013

    Posted 22 Dec 2014 Link to this post

    Hi!
    We have updated our code with the latest Telerik version (Q3 2014 SP1) and after this we got problems with the DropDrownTree.
    Our application relies on a postback when users selects a checkbox inside the DropDownTree (singlestate). This postback doesn't occur anymore for some reason. No errors are shown in Chromes Developer Tools.
    It seems like there is a problem with the latest version..?

    //Daniel

  2. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 23 Dec 2014 Link to this post

    Hello Daniel,

    By default RadDropDownTree does not trigger postback when some of its nodes is checked as you can see on DropDownTree - Checkboxes demo so would you please elaborate the issue by sharing the exact code that you are using so we could inspect it and be more helpful.

    Regards,
    Plamen
    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. Daniel
    Daniel avatar
    7 posts
    Member since:
    May 2013

    Posted 23 Dec 2014 in reply to Plamen Link to this post

    Hello!

    We are using AutoPostBack=true in the RadDropDownTree and this used to trigger postback when checking/unchecking values.
    I found the issue inside OnClientEntryAdded, where we are calling "sender.get_entries().clear();" before getting the actual selected value, because we want only one value. This used to work but now we had to move the line of code to OnClientEntryAdding instead, and clear the selection there.

    I have no idea why this would prevent a postback.. Anyway it is solved and case is closed.
    Thank you
    Daniel
Back to Top