Master pages and state

  • Thread starter Thread starter Martin Gustavsson
  • Start date Start date
M

Martin Gustavsson

Hi all.

If i have a master page containing a checkbox. And two pages using that
master page. How do I persist the state of the checkbox while navigating
between the two pages? I can think of a million ways to do it. But is
there some preferred way to handle it?

//Martin
 
Martin,
Think of it this way: the master page "becomes" a part of all pages that use
it. So, whatever way works for you, should be OK.
Peter
 
If its something really small and simple like a checkbox I would just
add its value to a Session variable. That would be the easiest and
quickest way.
 
Back
Top