Click here to Skip to main content
12,698,179 members (23,140 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


6 bookmarked

Another way to moving ViewState to the bottom of page

, 19 Apr 2010 CPOL
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...


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

14 Apr 2011
Mike Thom
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...


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


About the Author

Software Developer (Senior) Ogma Applications
Armenia Armenia
Job Experience:
2009 - "Ogma Applications" Inc., Senior Software Engineer,
2007 - "Norvex Systems" Inc., Software Engineer,
2005 - Center of Information Technologies Ltd (CIT), Software Engineer,
2002 - HPL Technologies LLC (Armenia), Software Engineer,
2001 - Yerevan State University, Computing Center, Software Engineer

C#.NET, ASP.NET, Web Forms, Windows Forms, Web Services, Java Script, Ajax, jQuery, Visual C++, STL, WinAPI, MFC, COM, x86 Assembler (IA32/IA64), SQL Server, Oracle

1986 – 1997 Primary School #1 of Byoureghavan, Armenia
2000 – 2004 Yerevan State University "Applied Mathematics and Informatics" department

Military Service:
1998 – 2000 National Army of Republic of Armenia

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 20 Apr 2010
Article Copyright 2010 by Xnko
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid