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

TreeList Node Click

1 Answer 44 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
New
Top achievements
Rank 1
New asked on 21 Dec 2012, 09:57 AM

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

Thanks Advance,
Mohamed.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Dec 2012, 09:47 AM
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.
Tags
TreeList
Asked by
New
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or