i try to do a simple log in page
but i encounter an error anyone can help?
this is the error msg:
Server Error in '/CPM project' Application.
--------------------------------------------------------------------------------
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.]
System.Web.UI.ClientScriptManager.ValidateEvent(St ring uniqueId, String argument) +358
System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +108
System.Web.UI.WebControls.TextBox.LoadPostData(Str ing postDataKey, NameValueCollection postCollection) +22
System.Web.UI.WebControls.TextBox.System.Web.UI.IP ostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
System.Web.UI.Page.ProcessPostData(NameValueCollec tion postData, Boolean fBeforeLoad) +381
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boo
this is my login page code
<%@ Page Language="
VB" masterpagefile="~/MasterPage.master"%>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<form id="form1" >
<div>
<br />
<asp:Login ID="Login1" runat="server" style="z-index: 100; left: 12px; position: absolute; top: 336px">
</asp:Login>
<asp:LoginStatus ID="LoginStatus1" runat="server" style="z-index: 102; left: 341px; position: absolute; top: 439px" />
</div>
</form>
</asp:Content>
this is my master page code
<%@ Master Language="
VB" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script language="javascript" type="text/javascript">
<!--
function IMG1_onclick() {
}
// -->
</script>
</head>
<body>
<form runat=server>
<img src="App_Themes/lanai/hotel%20logo.bmp" style="z-index: 106; left: 35px; width: 114px;
position: absolute; top: 62px; height: 103px" id="IMG1" language="javascript" onclick="return IMG1_onclick()" />
<div>
<div id="header">
<asp:LoginStatus ID="LoginStatus1" runat="server" />
<br />
<h3 style="text-align: left">
<span style="font-size: 24pt"> <span style="font-size: 16pt">
<span style="font-size: 18pt">
Hilton Hotel Restaurant </span></span></span></h3>
<asp:HyperLink ID="HyperLink3" runat="server" Style="z-index: 102; left: 43px; position: absolute;
top: 229px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Home.aspx">Home</asp:HyperLink>
<asp:HyperLink ID="HyperLink2" runat="server" Style="z-index: 100; left: 240px; position: absolute;
top: 231px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Catering.aspx">Catering</asp:HyperLink>
<br />
<asp:HyperLink ID="HyperLink1" runat="server" Style="z-index: 100; left: 107px; position: absolute;
top: 232px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Reservation.aspx">Reservation</asp:HyperLink>
<br />
<asp:HyperLink ID="HyperLink4" runat="server" Style="z-index: 101; left: 334px; position: absolute;
top: 231px" Font-Names="Times New Roman" Font-Size="12pt" NavigateUrl="~/Payment.aspx">Payment</asp:HyperLink>
<asp:HyperLink ID="HyperLink5" runat="server" Style="z-index: 104; left: 434px; position: absolute;
top: 232px" Font-Names="Times New Roman" Font-Size="12pt" Width="99px" NavigateUrl="~/Contact.aspx">Contact Us</asp:HyperLink>
<br />
<div id="wrapper">
<br />
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<img src="App_Themes/lanai/chicken.bmp" style="z-index: 103; left: 57px; width: 135px;
position: absolute; top: 561px; height: 104px" />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</asp:ContentPlaceHolder>
<div id= "footer"> Copyright 2006 Hilton Hotel </div>
</div>
</form>
</body>
</html>