Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > style.display setting not persisted in viewstate

Thread Tools

style.display setting not persisted in viewstate

Toby Mills
Posts: n/a
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookies not persisted on client side rb ASP .Net 2 06-20-2007 09:06 AM
Custom WebServerControl properties not persisted in HTML Greg ASP .Net Building Controls 0 08-24-2005 12:54 PM
Cookie not persisted w/o call to GetRedirectUrl() Jim Foye ASP .Net Security 1 01-30-2005 05:06 PM
Why textbox is persisted when viewstate is off? John Dalberg ASP .Net 2 07-07-2004 05:56 PM
Dataset not persisted on PostBack VB Programmer ASP .Net 2 06-06-2004 03:36 PM