即使我禁用了视图状态和控件状态,该值仍然保留在asp.net网页中。即使我将该页的Enableviewstate禁用为false并通过将SavePageStateToPersistenceMedium()重写为empty来禁用控件状态,控件的值仍保留在回发中。
/*value is still preserving in asp.net webform page
even if disable view state and control state*/
public class CustomTextBox : TextBox
{
public CustomTextBo