title: value is still preserved in asp.net webform page even if disable view state and control state
body: <p>The value is still preserved in asp.net webform page even if I disable the view state and control state. Control's value is still preserved in postback even after I disable <code>Enableviewstate</code> as false for that page and disable the control state by overriding <code>SavePageStateToPersistenceMedium()</code> as empty. </p>
  
  <pre><code>/*value is still preserving in asp.net webform page 
        even if disable view state and control state*/
  
  public class CustomTextBox : TextBox
  {
      public CustomTextBox()
      {
  
      }
       //this method is ipostbackdatahandler's one
      protected override void LoadControlState(object savedState)
      {
  
         //doing ntng here means we are not saving anything by this way
      }
      //this method is ipostbackdatahandler's one
      protected override void RaisePostDataChangedEvent()
      {
  
      }
  
      protected override void AddAttributesToRender(System.Web.UI.HtmlTextWriter writer)
      {
  
          //writer.AddStyleAttribute(HtmlTextWriterStyle.BackgroundColor, "Green");
          writer.AddStyleAttribute(HtmlTextWriterStyle.Padding, "5px");
          base.AddAttributesToRender(writer);
  
      }
  }
  </code></pre>
  
  <p>How can I resolve this situation?</p>