Hi
I want to know what will be the page life cycle when HTML form tag is submitted.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
error.Style.Value = "display:none;";
if(Request.Form["Action.Login"] == "1")
{
if (Request.Form["LoginName"] == "admin" && Request.Form["LoginPassword"] == "admin")
{
error.Style.Value = "display:block;";
error.InnerHtml = "You are logged in";
}
else
{
error.Style.Value = "display:block;";
error.InnerHtml = "Invalid User name and password";
}
}
}
</script>
<html xmlns="http://www.w3 ...
Go to the complete details ...