Thursday, March 22, 2012

Maintaining user entered data on a page being refreshed

Hello there,
My problem is that I have a page which is displaying 4 real time data values
which are being refreshed every one minute.
On the same page I have other text boxes where user enters some data. The pa
ge is being refreshed through code using META tag. When page is refreshed, t
he data entered is lost. How do I maintain the data?
We tried to use viewstate, but since the page is autorefresh, we cannot stor
e the viewstate values in any particular event.
Please help!!
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/You could use AJAx techniwues to do this, you can tetrieve values froma
remote server and update text and other stuff on the page without "refreshin
g
the page". Some faily easy to use AJAx framework you might want to check ou
t
include:
Atlas http://atlas.asp.net/Default.aspx?tabid=47
Anthem http://sourceforge.net/projects/anthem-dot-net
"SSS" wrote:

> Hello there,
> My problem is that I have a page which is displaying 4 real time data valu
es which are being refreshed every one minute.
> On the same page I have other text boxes where user enters some data. The
page is being refreshed through code using META tag. When page is refreshed,
the data entered is lost. How do I maintain the data?
> We tried to use viewstate, but since the page is autorefresh, we cannot st
ore the viewstate values in any particular event.
> Please help!!
>
>
>
> --
> Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
>
You may also be able to solve your problem by having your updatable controls
in a separate page displayed in an iframe. Then you would only refresh the
iframe page.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"SSS" wrote:

> Hello there,
> My problem is that I have a page which is displaying 4 real time data valu
es which are being refreshed every one minute.
> On the same page I have other text boxes where user enters some data. The
page is being refreshed through code using META tag. When page is refreshed,
the data entered is lost. How do I maintain the data?
> We tried to use viewstate, but since the page is autorefresh, we cannot st
ore the viewstate values in any particular event.
> Please help!!
>
>
>
> --
> Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
>
Thanks a lot Dale! We will surely try this.
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Thanks a lot!
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/

0 comments:

Post a Comment