This article does an overview of state management techniques in ASP.NET. I will be discussing about the various types of state management techniques both client side and server side. This article goes over client side methods like hidden field, view state, cookies, and server side aspects like session management, application state, and session events in ASP.NET.
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewState.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><br />
<br />
Value Saved in ViewState : <asp:Label ID="Label1" runat="server" ></asp:Label></div>
</form>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
He has done Master Degree in Computer Application (MCA) and currently working as a Sr. Software Engineer and having more than 6+ years exp. He has worked with all the .NET framework and good exposure in Web and Windows based development using Microsoft Technology.