Well,
you can't get access to server-side variable through client-side unless
server-side action is occurred (of course). So basically you can just print
the value into Label for example:
Label1.Text=ViewState("MyVar")
But it needs pretty much custom logic to get client-side changes into
ViewState to server, if you mean you do a change at client-side and then
send it to the server(i.e normal behaviour of ASP.NET is just that but this
is valid statement is very customized case).
An example of such is Andy Smith's control:
http://www.metabuilders.com/Tools/DynamicListBox.aspx
It can persist client-side changes in it into server-side (Items collection
of DDL).
--
Teemu Keiski
MCP,Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi
AspInsiders Member,
www.aspinsiders.com
ASP.NET Forums Moderator,
www.asp.net
AspAlliance Columnist,
www.aspalliance.com