TreeList Node Click

2 posts, 0 answers
  1. New
    New  avatar
    25 posts
    Member since:
    Jul 2012

    Posted 21 Dec 2012 Link to this post


    How to get the node click value in server side , client side.

    Thanks Advance,
    Mohamed.
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 25 Dec 2012 Link to this post

    Hello Mohamed,

    You can use the following approach:
    protected void RadTreeList1_ItemCommand(object sender, TreeListCommandEventArgs e)
    {
        if (e.CommandName == RadTreeList.ExpandCollapseCommandName)
        {
            TreeListDataItem dataItem = e.Item as TreeListDataItem;
            // execute custom logic
        }
    }

    I hope this will prove helpful. Please give it a try and let me know about the result.

    Greetings,
    Eyup
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top