Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...