Click here to Skip to main content
15,886,199 members
Articles / Web Development / ASP.NET

Another way to moving ViewState to the bottom of page

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
14 Apr 2011CPOL 9.3K   3  
If you move your ViewState from the top of the page to the bottom, you will get better search engine spidering.Step 1Create a class file in App_code folder of your application and name it as PageBase.cs. Copy the following code to the class file.using System.IO;using...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
19 Apr 2010Xnko 1 alternative  
On the Web there are many examples for moving ViewState to the bottom of Page using RegularExpressions. This is another way using HtmlTextWriter.All you nees that add in your project class named MoveViewStateHtmlTextWriter and write in your BasePage code below.protected override...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions