title: How to reduce viewstate size of server control?
body: <p>I have developed a server control which inherits from <code>CompositeDataBoundControl</code> and <code>INamingContainer</code>. It has 2 TextBoxes and 1 small image.</p>
  
  <p>But when rendering in <code>GridView</code> its ViewState size is up to 500 bytes. It also has about 20 properties, but I don't use ViewState here.</p>
  
  <p>I only use <code>get;set;</code> and I bind it again when postback.</p>
  
  <p>Now I am wondering how to reduce this ViewState size and how I can examine this ViewState . If I can examine the values of ViewState , it would be helpful to fix the problem.</p>