a 'fresh page' is being loaded - updatepanel postback is still a postback.
any data you wish to preserve between postbacks should be saved either in
the form ( hidden fields / view state ) or saved on the server ( session /
... )
> Hello,
>
[quoted text clipped - 8 lines]
> thanks!
> Radix
> Hello,
>
[quoted text clipped - 3 lines]
> Whenever postback happens from Ajax update panel, at server side all
> the public string variables are reset to empty string.
They are set to null, unless you actually assign them empty strings.
> As if fresh page is loaded.
That's because a fresh page _is_ loaded.
An ajax call makes a regular postback, it just doesn't make a regular
response.
> How to preserve the page level variables during Ajax
> postback?
You can't. You persist data between postbacks just as you do between any
other postback.

Signature
Göran Andersson
_____
http://www.guffa.com
radix - 23 Jul 2007 21:35 GMT
Yeah, I used sessions and saved my variables.
Strings were intialized to so they were not null... but they are nulls
if not initialzed. Thanks!
On Jul 23, 4:24 pm, G?ran Andersson <gu...@guffa.com> wrote:
> > Hello,
>
[quoted text clipped - 22 lines]
> G?ran Andersson
> _____http://www.guffa.com