954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Data and Input Boxes

I have always wondered?

When you submit a form in ASP the page refreshes so in order to edit a value you have to press back on the browser or at least that is what I have been doing. Is there any way you can hold that value so that the user does not need to press back to edit?:-/

whisper_101
Light Poster
25 posts since May 2008
Reputation Points: 11
Solved Threads: 0
 

you can store it in a session variable.

afripino
Newbie Poster
4 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Hi,

There are three ways, which you can use to store the values.

1. Session
2. Hidden variables
3. Querystring.

vicky_rawat
Junior Poster
137 posts since Jun 2008
Reputation Points: 28
Solved Threads: 19
 

Ok. But at the moment I am unable to save the value inserted into the input box if I refresh the form. For Example If the user inserts a value into Textbox1 inccorectly when he/she submits the page the value should still be there preventing the user from re-inserting the information. Could you show me using any of the examples mentioned how I would achieve this. Thanks.

W:)

whisper_101
Light Poster
25 posts since May 2008
Reputation Points: 11
Solved Threads: 0
 

Check This out
http://www.daniweb.com/forums/thread144563.html

use the same principle

aparnesh
Junior Poster
194 posts since Jul 2005
Reputation Points: 20
Solved Threads: 10
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You