Click here to Skip to main content
15,896,153 members

Comments by maithilym (Top 3 by date)

maithilym 12-Jul-11 0:02am View    
I have edited the question with the code block where i am trying to type-cast. Since this is an aspx page i did not have to set the handler explicitly. I have just declared it in the Event properties of the TreeView control, as

<asp:TreeView ID="tvController" runat="server" ExpandDepth="0" OnTreeNodePopulate="tvController_TreeNodePopulate"
PathSeparator="\" OnSelectedNodeChanged="tvController_SelectedNodeChanged">



Currently I am trying to work with the solution provided by Apfelmuuus. If I am able to get the desired results successfully, I will update the post accordingly.

Thanks for your responses!
maithilym 11-Jul-11 8:22am View    
I have updated the ques with appropriate code
maithilym 11-Jul-11 8:13am View    
Thanks for your instant reply.
But this option does not work as sender is of the type TreeView. Cannot be cast into Node.