Solved

Retaining textbox text after refresh

Posted on 2004-04-17
3
1,501 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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
How to create an MVC5, Razor Widget 2 38
reading excel file in .net 2 32
Data organization issue 7 37
Need to find a web event on the IIS server 4 11
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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