Saturday, March 31, 2012

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

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,

Keihtjust use hidden fields

-- bruce (sqlwork.com)

Keithb wrote:

Quote:

Originally Posted by

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
>
>

No comments:

Post a Comment