C# ASP.NET TreeView control
-
Hi all, I am trying to find out how to check the 'check' state of a node in a TreeView control using C# in an ASP.NET application. Basically, I have a TreeView control that shows checkboxes. The user makes a selection which I want to store in a session variable upon a 'submit' button click. I use a 'TreeView.Node.Checked' statement to verify whether the user selected that node. This, however, does not work because the selection is made at the client side and when it gets posted to the server, the 'TreeView.Node.Checked' statement, whether selected or not, will always return 'false' for any node. Does anyone have a solution for this? Thx, Ralf
-
Hi all, I am trying to find out how to check the 'check' state of a node in a TreeView control using C# in an ASP.NET application. Basically, I have a TreeView control that shows checkboxes. The user makes a selection which I want to store in a session variable upon a 'submit' button click. I use a 'TreeView.Node.Checked' statement to verify whether the user selected that node. This, however, does not work because the selection is made at the client side and when it gets posted to the server, the 'TreeView.Node.Checked' statement, whether selected or not, will always return 'false' for any node. Does anyone have a solution for this? Thx, Ralf
I'm guessing you will get a better answer in the ASP.Net forum: http://www.codeproject.com/script/Answers/List.aspx?tab=active&tags=85[^]
Best wishes, Hans
-
I'm guessing you will get a better answer in the ASP.Net forum: http://www.codeproject.com/script/Answers/List.aspx?tab=active&tags=85[^]
Best wishes, Hans
Will do. Thx, Ralf