Solved

Retaining textbox text after refresh

Posted on 2004-04-17
3
1,493 Views
Last Modified: 2010-05-18
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
Comment
Question by:gregasm
3 Comments
 
LVL 28

Accepted Solution

by:
mmarinov earned 500 total points
ID: 10848466
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
 
LVL 8

Author Comment

by:gregasm
ID: 10850036
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
 

Expert Comment

by:nsvk_keyan
ID: 11124904
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now