Server side control that maintains viewstate for client-side javascript variables?

Discussion in 'ASP .Net' started by Keithb, Feb 26, 2007.

  1. Keithb

    Keithb Guest

    I have some client-side javascript for that I use for dhtml stuff such as
    hiding div tags based on user menu selections, etc. I need a way to maintain
    the state of javascript variables across postback. Are there any server side
    controls that can be used as a container for client-side javascript
    variables? If not, how do other developers approach this issue?

    Thanks,

    Keiht
    Keithb, Feb 26, 2007
    #1
    1. Advertising

  2. Keithb

    bruce barker Guest

    Re: Server side control that maintains viewstate for client-sidejavascript variables?

    just use hidden fields

    -- bruce (sqlwork.com)

    Keithb wrote:
    > I have some client-side javascript for that I use for dhtml stuff such as
    > hiding div tags based on user menu selections, etc. I need a way to maintain
    > the state of javascript variables across postback. Are there any server side
    > controls that can be used as a container for client-side javascript
    > variables? If not, how do other developers approach this issue?
    >
    > Thanks,
    >
    > Keiht
    >
    >
    bruce barker, Feb 26, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark
    Replies:
    6
    Views:
    712
    Ken Dopierala Jr.
    Sep 28, 2004
  2. Replies:
    0
    Views:
    315
  3. Julia
    Replies:
    14
    Views:
    260
    Egbert Nierop \(MVP for IIS\)
    Aug 28, 2004
  4. Bob Hutchison
    Replies:
    8
    Views:
    146
    Bob Hutchison
    Sep 28, 2005
  5. Tony Arcieri

    Who maintains ruby-talk?

    Tony Arcieri, Apr 14, 2010, in forum: Ruby
    Replies:
    68
    Views:
    620
    James Britt
    Apr 16, 2010
Loading...

Share This Page