Solved

Retaining textbox text after refresh

Posted on 2004-04-17
3
1,506 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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