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

SelectedNode event?

2 Answers 44 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
César
Top achievements
Rank 1
César asked on 06 Nov 2013, 02:53 PM
Hi,

I am wondering if there is any event that can be handled to know when a node has been checked?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 07 Nov 2013, 05:11 AM
Hi C├ęsar,

When an entry is checked the OnClientEntryAdded event of RadDropDownTree will get invoked. Please have a look into the sample code I tried.

ASPX:
<telerik:RadDropDownTree ID="RadDropDownTree" runat="server" DataSourceID="SqlDataSource1"
    DataFieldID="id" DataFieldParentID="parentid" DataTextField="text" CheckBoxes="SingleCheck" OnClientEntryAdded="OnClientEntryAdded1">
</telerik:RadDropDownTree>

JavaScript:
<script type="text/javascript">
    function OnClientEntryAdded1(sender, args) {
        alert("Fired");
    }
</script>

Thanks,
Shinu.

0
César
Top achievements
Rank 1
answered on 07 Nov 2013, 09:10 AM
There was it. I was expecting a name like nodeChecked or similar! But that's it. 

Thanks
Tags
DropDownTree
Asked by
César
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
César
Top achievements
Rank 1
Share this question
or