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

event for rad dropdownTree select Index changing,

2 Answers 523 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Prasad
Top achievements
Rank 1
Prasad asked on 23 Oct 2013, 04:31 AM
Hi,
I am using raddropdowntree. If i select any item in rad drop down tree, event is not firing. when i click on dropdowntree item and out side of the page then "ddtModule_EntryAdded" this event is firing. Is there any another event for dropdowntree when user select an item. Please suggest me a best way ASAP.

Regards,
Ranga.prasad

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 23 Oct 2013, 05:51 AM
Hi Prasad,

One option is to add the client side event 'OnClientEntryAdded' which will be fired when you select an entry. You can do an Ajax request from the client side event to do any functionality in the server side code as mentioned in the following help documentation.

Thanks,
Shinu.
0
John
Top achievements
Rank 1
answered on 16 Apr 2014, 05:33 PM
Another option, I think a better one is to catch the NodeClick event of the EmbeddedTree.
I added the following in the OnLoad(EventArgs e) function

RadDropDownTreeXXX.EmbeddedTree.NodeClick += EmbeddedTree_NodeClick;

void EmbeddedTree_NodeClick(object sender, RadTreeNodeEventArgs e)
{
    // Your code here
}
This is a server side event.
Tags
DropDownTree
Asked by
Prasad
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
John
Top achievements
Rank 1
Share this question
or