Mayfield2268 Posted March 20, 2003 Posted March 20, 2003 I have a asp.net page that has a treeview and a text box. When I navigate through the treeview, each node acts like a hyperlink. So when I select a node it redirects itself to the same page changing the navigation structure. The problem is that if something is put into the text box, it is lost once I navigate to another node on the treeview. I'm trying to set a session variable equal to the text boxes text but this isn't working. I think the problem is the form isn't getting posted so I'm losing the text in the textbox. Does anyone know of a way to post a form in the page unload event so I can extract the value from a textbox into a session variable? Thanks Quote
Moderators Robby Posted March 21, 2003 Moderators Posted March 21, 2003 The selction of a node should "runat=server", there is no need to redirect, so the value of the textbox can still be there or postback. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.