| Home | Articles | Archive | Links |


- SEO
Optimize ASP Net Pages By Reducing...
Online Marketing Made Easy With SEO
Online Traffic Schools Investigating...
Optimizing Flash Files For...
Optimum SEO Keyword Density A Real...
Organic SEO The New Messiah For...
- Earning Money
Online MLM Business May Bring You...
Online Paid Surveys Internet Jackpot...
Online Poker Affiliate Programs...
Online Poker Become A Poker...
Organizational Tips For Internet...
- Adsense
Optimizing Adsense By User Behaviour...
- Auction
Online Ticket Sales Welcome On Ebay
- Misc
Online Marketing Connect The Boughts...
Online Marketing The End...
Online Poker Affiliate Program...
Online Poker Affiliate Programs...
Online Poker Affiliates Generating...
Online Safety Concerns
Online Safety How Safe Are We
Online Shopping Online Stores What...
Online Shopping Safety Tips
Online Shopping Whatever You Want
Online Stock Trading Is It Here...
Online Stores Shopping Online
Online Strategies Tips For Website...
Online Survey Paid Or Free
Online Surveys Cheap Easy Flexible...
Online Translators Can Hurt More...
Online Turnkey Sites Good And Bad
Open Source Email Marketing Software...
Optimize Your Pay Per Click Ads 3...
Optimizing Flash Can It Be Done
Optimizing Images For Web Pages
Optimizing With Firefox
Optimizing Your Website For Maximum...
Options In Broadband Internet Access...
Ordering Online Is The Best Way...
Ordering Online Roses Provide Fast...
Ordering Tools And Hardware Through...
Organizing URLs 101

Optimize ASP Net Pages By Reducing The Size Of The Viewstate To Rank Higher On Search Engines



O


ne way to optimize the          use the VIEWSTATE property for    
pages you develop with          the page and controls where       
ASP.NET is to keep a check      necessary so that the size of the 
on the view state of the page and     value for the hidden field of     
the controls that are added to        _VIEWSTATE is minimum. This will  
the page. Any seasoned developer      ensure that your page loads fast  
of ASP.NET will remember the          and that the search engines can   
VIEWSTATE which is added to every     retrieve the actual content of    
page in a hidden field _VIEWSTATE     your page.                        
and contains base64 encoded data                                        
which could be any where from 800     Some search engines only read a   
to tens of thousands of               certain set of characters from    
characters long depending on your     the top (that's why you have most 
usage of this property on your        SEO specialists mentioning that   
page.                                 you should have your keywords on  
                                      the top of the page) and the      
There are many issues with view       bottom of the page. If the value  
state in ASP.NET 1.x. It is on by     of the hidden field of _VIEWSTATE 
default, and unless you know to       is long on your page then these   
look for it and disable it when       search engines would not be able  
it is not needed, it can              to get to the actual content of   
significantly increase the amount     your page as a result it would    
of data rendered by your page.        never map the keywords (keywords  
This becomes particularly painful     density) and you would have a low 
when you use data-bound controls,     ranking on these search engines.  
all of which use view state to                                          
save their state across post          How to decrease the size of the   
backs.                                view state?                       
                                                                        
You need to ensure that you only      a. As mentioned before the        



VIEWSTATE for any page is set to      You will see a considerable       
TRUE by default. If you do not        difference in the page size and   
require the controls or the page      the loading time of the page once 
to hold the VIEWSTATE you can         you disable the VIEWSTATE of the  
disable the VIEWSTATE for the         controls or the page. This will   
page completely by adding the         also be evident from the size of  
directive to the page. (Usually       the base64-encoded string in the  
if you have a page that does not      value field of the hidden field   
post back to itself you can           of _VIEWSTATE. By disabling the   
disable the VIEWSTATE on these        VIEWSTATE for a couple of         
pages.)                               datagrid controls on one of the   
                                      pages of our clients website, we  
b. You can selectively disable        were able to reduce the VIEWSTATE 
the VIEWSTATE of the controls,        of the page from 10,000           
datagrids etc that you use on the     characters to 1000 characters and 
page if these controls do not         the page size also reduced by a   
post back to the same page.           few kilobytes (KB).               
                                      

                              






About the Author:

Manoj Mansukhani is the founder and CEO of Scarlet Technologies (http://www.scarlettech.com). They provide services to help business get setup and succeed online. Their services include online marketing, search engine optimization, increasing website conversion rates and web development. Visit the website to find out how you can succeed online.


Read more articles by: Manoj Mansukhani

Article Source: www.iSnare.com


...Archive >>

Submit Your Site
Recent Articles
  • Reseller Hosting Business : Getting Started

    Starting a reseller web hosting business can be a dream project for expanding your hands over the internet website market but one thing you shall keep clear in mind that decisions you make shall not be taken overnight or in the manner of fastest procedures Any time you start a new reseller web hosting business you shall be clear with a few of the important things which are necessary to keep clear before you opt web hosting as a reseller business for your bread making purposes which we are going to clear in this article The first thing you need to clear is marketing plans and research work for the same in the manner that what shall be your web hosting package configuration and what shall be your market spending areas like for advertising purposes, seo services and others as after all there shall be a proper planning in case you are looking towards long life term business hopes with this new era of web hosting reseller business for your professional life as without a proper planning for both packages and marketing you cannot do the business more than a few days or a month while it shall be not your hopes to do this business for small term...

  • CPanel Web Hosting : Advantages and Benefits

    Are you going to host a new website or planning to move your web hosting provider then remember to choose the one which offer you cPanel web hosting CPanel is one of the most popular control panels for Linux web hosting accounts and today its usages are on boom which is making it more and more popular It is enriched with a tons of features and benefits along with abilities of fantastico sort of website builder engines and good news is this that today most of the internet web hosting service provider today offer cPanel as a web hosting control panel with their Linux web hosting offers...

    Copyright (c) 2008 Isnare.com. All rights reserved.

  • Google
    Optimize ASP Net Pages By Reducing The Size Of The Viewstate To Rank Higher On Search Engines