• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1520
  • Last Modified:

Retaining textbox text after refresh

I have a web page that is automatically set to refresh through a meta tag in the header element.

But when a user is editing a text box (textbox contains text), I would like to retain that text even after a refresh. What's the way to accomplish this?

0
gregasm
Asked:
gregasm
1 Solution
 
mmarinovCommented:
because of the refresh with meta tag ( not submitting the form ) you can not keep the value entered in a field in your form
It will be much easy if you perform submitting the page with an argument that is understandable as an autorefresh option so when you enter in the code and check if ispostback to change if the page is submitted automatically or not

B..M
0
 
gregasmAuthor Commented:
Thank you. I have discovered the same, and am using a ASP Timer control instead. On the elapsed time event, I do a postback instead of a refresh. This gives me the control over the process that I need to control state.
0
 
nsvk_keyanCommented:
i am using asp.net user control in my application. in that user control i have used
dropdownlist control . when i select value in usercontrol dropdownlist my .aspx page not
changing .if i select usercontrol dropdownl value how to change the .aspx page value ?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now