Presisting control state across Postbacks

N

Nick Goloborodko

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
 
N

Nick Goloborodko

Phew, that was a lot less painless than i expected :) Amen for cookies and
JavaScript being able to manipulate them. If anyone needs detailed
explanation on how to achieve that - just ask :)

Just one further question: under what property category is it best to put
the "IsPersistent" property, and is this name the most appropriate?

Kind regards,
Nick Goloborodko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,249
Latest member
KattieCort

Latest Threads

Top