Presisting control state across Postbacks

From: removethis (coolbest_at_(removethis)paradise.net.nz)
Date: 02/25/05


Date: Fri, 25 Feb 2005 23:28:32 +1300

Hi,

At the moment i'm developing a Timer custom control, and i finally reached
the stage where i need to persist it across page postbacks. What would be
the best way of doing it?

At the moment the only way that i see is by use of the cookies. (i was also
thinking about using a hiddent field - but with this approach i do not know
how to retain value across postbacks or page reloads)

I would greatly appreciate anyones input on the matter :)

TIA
Nick Goloborodko



Relevant Pages

  • Newbie question about Checkbox list
    ... I'm still a newbie not only with .NET, but also with the whole concept of ... postbacks and states. ... Can someone in laymen's terms tell me if this is expected behavior? ... TIA, ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Persist a stack across PostBacks?
    ... Can anyone point me toward a solution for persisting non-controls (i.e.: ... stack) across PostBacks? ... TIA! ...
    (microsoft.public.dotnet.framework.aspnet)