ASP.NET: Moving ViewState to bottom of page
Posted
by Seb Nilsson
on Stack Overflow
See other posts from Stack Overflow
or by Seb Nilsson
Published on 2010-03-04T14:46:20Z
Indexed on
2010/03/31
11:03 UTC
Read the original article
Hit count: 380
What are the latest and greatest ways to move ViewState to bottom of the page
Can this be done in a IHttpHandler that can be specified in the web.config to intercept requests to "*.aspx"?
<httpHandlers>
<add verb="*" path="*.aspx" type="MyApp.OptimizedPageHandler" />
<httpHandlers>
Other options is that this could be done in a IHttpModule, but that is not as performant, as it will intercept all requests.
Also it could be done in an a class deriving from the Page or MasterPage-class, but this is not as modular.
Are there any performance penalties to this?
© Stack Overflow or respective owner