8 Answers, 1 is accepted
RadDropDownTree have two events called OnClientEntryAdding and OnClientEntryAdded. Both will fire when an entry is about to be added to the Entry area. The OnClientEntryAdding event can be cancelled and the OnClientEntryAdded event cannot be cancelled. In your Scenario you can use any of the event.
Let me know if you have any concern.
Since the RadDropDownTree contains the RadTreeView control embedded in it, you could handle its NodeClick event handlers - both client and server side. Please consider the following implementation :
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.
OnClientEntryAdding has been working fine. Thank you for your immediate reply.
the event on the server side in VB. When I used the code convertor and used the
output, I had an error for each side of the equal sign, so there is something
still missing to make it work. Thank you.
AddHandler SegmentsDownTree.EmbeddedTree.NodeExpand, AddressOf NodeExpand
could you please provide an example how to handle the NodeClick Event of the RadTreeView control on client side for a RadDropDownTree?
I can handle the OnClientEntryAdded-Event, when a Checkbox is checked, but not, if it is unchecked.
<telerik:RadDropDownTree RenderMode="Classic" ID="ddt" runat="server"
CheckBoxes="SingleCheck" AutoPostBack="false" OnClientEntryAdded="clientNodeChecked"
Thanks for your help!
The approach that we recommend in such scenarios is to use the client-side events of the embedded TrewView. In other words, in the code behind you can subscribe for the OnClientNodeChecked and handle the function in the markup:
Hope this would help.
Telerik by Progress