Sometimes, I store information in the viewstate statebag. Since this information goes back to the server on a roundtrip, I have access to the information. If I want to send that same information back to the server, how should I handle the situation where
the information is stored in the statebag? Should I go back and use hidden fields that javascript can get at? is there some type of way to reach into the statebag from the client-side javascript? I realize that the statebag is not considered to be secure
so would it be possible to include some type of javascript decoder in atlas to get at values in the statebag?
I didn't see any viewstate support at the moment, and I think Microsoft is thinking of AJAX methods as I. If you try the Atlas web controls you will see that there is no Click event for the server.
I don't think we'll be creating solutions to change view state from the client. Often times this is not possible - view state may be encrypted. More often though, its simply not efficient to try and parse that content using script.
However, server controls that preserve the server-based programming model, while providing richer experience will use view state creatively, to provide the right behavior if an ajax-style page does need to postback for some reason.
Wallym
Contributor
2119 Points
363 Posts
ASPInsiders
MVP
Integration with ViewState
Sep 15, 2005 11:57 AM|LINK
Wally
interactive
Member
215 Points
45 Posts
Re: Integration with ViewState
Sep 15, 2005 06:05 PM|LINK
I didn't see any viewstate support at the moment, and I think Microsoft is thinking of AJAX methods as I. If you try the Atlas web controls you will see that there is no Click event for the server.
Michael
http://weblogs.asp.net/mschwarz/
http://michael-schwarz.blogspot.com/
NikhilKo
Contributor
3279 Points
93 Posts
Microsoft
Re: Integration with ViewState
Sep 15, 2005 11:50 PM|LINK
I don't think we'll be creating solutions to change view state from the client. Often times this is not possible - view state may be encrypted. More often though, its simply not efficient to try and parse that content using script.
However, server controls that preserve the server-based programming model, while providing richer experience will use view state creatively, to provide the right behavior if an ajax-style page does need to postback for some reason.
Weblog: http://www.nikhilk.net
Twitter: @nikhilk