Hi,
I want to create a RadTreeView using PageMethods just like in the demo "http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/loadondemandmodes/defaultcs.aspx" . But in my case the Childs are from different tables in the database. I have 2 levels of child. I want to add 2 different onclick attributes to the 2 child levels. ie childnodeAtLevel1.Attributes.Add("onclick", "level1Method(some argument))" And childnodeAtLevel2.Attributes.Add("onclick", "level2Method(some argument))".Also when I delete the Root node data from somewhere say a radgrid, then the RadTree also should get refreshed. Is there any ways to accomplish this?
Thanks in advance.
Ajith U Nair
I want to create a RadTreeView using PageMethods just like in the demo "http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/loadondemandmodes/defaultcs.aspx" . But in my case the Childs are from different tables in the database. I have 2 levels of child. I want to add 2 different onclick attributes to the 2 child levels. ie childnodeAtLevel1.Attributes.Add("onclick", "level1Method(some argument))" And childnodeAtLevel2.Attributes.Add("onclick", "level2Method(some argument))".Also when I delete the Root node data from somewhere say a radgrid, then the RadTree also should get refreshed. Is there any ways to accomplish this?
Thanks in advance.
Ajith U Nair