if I set EnableViewState="false" then also the input data is saved after the postback while using the control, for example
- text box
- switch
- check box
- and etc.
So, I just wanted to know the bitwise internal things, that if EnableViewState="false" , then how is the data entered after the postback when we use a control, for example, a text field, a radio button, etc., please discuss the internal problem .
Thanks.
here is my aspx code
<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
<asp:TextBox ID="TextBox1" runat="server" style="position: relative; top: 0px; left: 0px;"></asp:TextBox> <asp:TextBox ID="TextBox2" runat="server" style="position: absolute; top: 66px; left: 11px; z-index: 1;"></asp:TextBox> <asp:RadioButton ID="RadioButton1" runat="server" style="position: relative" /> <asp:CheckBox ID="CheckBox1" runat="server" style="position: relative" /> <asp:Button ID="Button1" runat="server" Text="Button" /> </div> </form>
Thomas
source share