5 Answers, 1 is accepted
You can handle the NodeClick server event of RadTreeView and in the handler to query your data source and populate the Form. The clicked node you can get from the event arguments (e.Node).
I hope this helps.
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Now I just need to keep the node selected because it seems that the Treeview is somehow rendered again, and the selection is lost (or not visible). Can you please help me?
If it's the same page the TreeView should persist its state.
Perhaps you put the TreeView on a MasterPage?
If this is the case - I have wrote on this forum thread (check my last response) about persisting state in cookie.
If this isn't the case - could you, please, post an example of that page.
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
I was missing the HideSelection attribute set to false. And yes, I am using a master page.
It's solved.
Regards
Bruno
I am glad that the problem is solved.
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.