Hi Steven,
First about Viewstate...
The web is a stateless medium – state is not maintained between client
requests by default. ViewState is the mechanism by which page state
(information) is maintained between page post backs.
OK, now. The viewstate is encrypted and sent to the client(browser) and then
decrypted back when it hits back the server. The vast value you see there is
nothing but this encrypted code. There will be performance overhead if
viewstate is enabled.
The server side controls have this property called 'EnabledViewState'. Set
it to false, in case you do not need the view state for a particular control.
You can also disable viewstate for the entire page by setting
'EnabledViewState' to false in the page level.
Need any help, do post a msg back..
Happy Coding
"Steven Licciardi" wrote:
I have an aspx page with nothing in it but one literal, which I populate
with straight forward html (the html consists of about 25 tables with
approx. 30 rows each and two columns with text in each cell). When I click
to view the aspx page it takes longer than I would have thought for me to
recieve the page. On looking at the source the <input type="hidden"
name="__VIEWSTATE" value=jkasdkahsj....> is there but the value is vast in
size, does anyone know why this is and what I can do to resolve it, there
are no controls on the page that post back, just the html I mentioned above.
Thanks.