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

Raddropdowntree with checkboxes Q3 2014 SP1

2 Answers 86 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 22 Dec 2014, 04:09 PM
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 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 23 Dec 2014, 06:01 AM
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.

 
0
Daniel
Top achievements
Rank 1
answered on 23 Dec 2014, 08:59 AM
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
Tags
DropDownTree
Asked by
Daniel
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or