style.display setting not persisted in viewstate

Discussion in 'ASP .Net' started by Toby Mills, Jun 24, 2003.

  1. Toby Mills

    Toby Mills Guest

    I have <DIV> control, which has its style.display setting controlled
    by client-side vbscript. I have set runat = server, but the setting is
    not persisted when the webform reloads.

    I can persist it if I control the .visible setting using server-side
    code, but I want to do it with client-side code to speed things up.

    How can I fix this?

    Thanks,
    Toby :)
     
    Toby Mills, Jun 24, 2003
    #1
    1. Advertisements

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. VB Programmer

    Dataset not persisted on PostBack

    VB Programmer, Jun 5, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    465
    =?Utf-8?B?SmltIEhldmV5?=
    Jun 6, 2004
  2. John Dalberg
    Replies:
    2
    Views:
    676
    Steve C. Orr [MVP, MCSD]
    Jul 7, 2004
  3. rb
    Replies:
    2
    Views:
    757
  4. Ken Varn
    Replies:
    0
    Views:
    736
    Ken Varn
    Apr 26, 2004
  5. Greg

    Custom WebServerControl properties not persisted in HTML

    Greg, Aug 24, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    192
  6. Jim Foye

    Cookie not persisted w/o call to GetRedirectUrl()

    Jim Foye, Jan 27, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    317
    Jim Foye
    Jan 30, 2005
  7. Bob Krug

    ListItem attributes in DropDownList not being persisted

    Bob Krug, Oct 4, 2003, in forum: ASP .Net Web Controls
    Replies:
    6
    Views:
    774
    Jacob Yang [MSFT]
    Oct 8, 2003
  8. swalkertdci
    Replies:
    1
    Views:
    251
    swalkertdci
    Aug 23, 2006
Loading...