I have raddropdowntree , it works well ,
it has a checkbox to check all nodes ,
what i want is to know if this checkbox is checked or not (if all nodes are checked) from itemCommand event from server side ..
how to achieve that ,
6 Answers, 1 is accepted
The RadDropDownTree doesn't have ItemCommand event. Please have a look into the sample code snippet to check all nodes of RadDropDownTree is checked or not in onClick event of a RadButton. Please elaborate your requirement if it doesn't help.
I have a question. If I don't have "RadButton" to fire the event, how do I fire the event when I just check "check all"? Since in , there is no event which is named "OnClientCheckAllButtonClicking" such like "OnClientClearButtonClicking"
You may use one of the server-events of RadDropDownTree control - for example OnEntriesAdded.
If this doesn't work for you, please explain your scenario in more details and provide us with a sample and we we will do our best to help you.
Thank you for your reply!
My scenario is I have a and a button. The default setting of the button is disabled. Now, I want to let the button is enabled when I click "check all".
I do not know which event can be fired when I click "check all".
In this case, you can use jQuery to add click event on CheckAll element of the RadDropDownTree:
It works well! Thank you for your help!