SelectedNode event?

3 posts, 1 answers
  1. César
    César avatar
    14 posts
    Member since:
    Sep 2013

    Posted 06 Nov 2013 Link to this post

    Hi,

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

    Thanks
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Nov 2013 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. César
    César avatar
    14 posts
    Member since:
    Sep 2013

    Posted 07 Nov 2013 Link to this post

    There was it. I was expecting a name like nodeChecked or similar! But that's it. 

    Thanks
Back to Top