aspx page
<div style="height: 800px; width: 800px; vertical-align: middle;">
<br />
<br />
<br />
<br />
<br />
<br />
<center>
<asp:Panel ID="panel1" runat="server">
<table>
<tr>
<td>
<asp:Label ID="EmailLabel" runat="server">E-Mail Id:</asp:Label>
</td>
<td>
<asp:TextBox ID="txtEmail" runat="server" CssClass="{txtcurcomp:true,textEntry}"
Height="25px" BorderColor="#666666" BorderStyle="Solid" BorderWidth="1px" Font-Size="Medium"
Width="300px"></asp:TextBox>
<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txtEmail"
CssClass="failureNotification" ErrorMessage="E-mail is required." ToolTip="E-mail is required."
ValidationGroup="l1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr id="tr1" runat="server" visible="false">
<td align="right">
<asp:Label ID="Label1" runat="server">Username:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtUsername" runat="server" BorderColor="#666666" BorderStyle="Solid"
BorderWidth="1px"></asp:TextBox>
</td>
</tr>
<tr id="tr2" runat="server" visible="false">
<td align="right">
<asp:Label ID="Label2" runat="server">Password:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtPassword" runat="server" BorderColor="#666666" BorderStyle="Solid"
BorderWidth="1px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td align="left">
<asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="l1" Height="28px"
Width="100px" OnClick="btnSubmit_Click" />
</td>
</tr>
<tr>
<td>
</td>
<td>
Try <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/AgentLogin.aspx">Login</asp:LinkButton>
Again
</td>
</tr>
</table>
<p style="margin-left: 200px; font-family: Cambria; font-size: medium; font-weight: bold;">
<asp:Label ID="lblmsg" runat="server" ForeColor="Green" />
<asp:Label ID="lblerrmsg" runat="server" ForeColor="Red" />
</p>
</asp:Panel>
</center>
</div>
<div style="height: 800px; width: 800px; vertical-align: middle;">
<br />
<br />
<br />
<br />
<br />
<br />
<center>
<asp:Panel ID="panel1" runat="server">
<table>
<tr>
<td>
<asp:Label ID="EmailLabel" runat="server">E-Mail Id:</asp:Label>
</td>
<td>
<asp:TextBox ID="txtEmail" runat="server" CssClass="{txtcurcomp:true,textEntry}"
Height="25px" BorderColor="#666666" BorderStyle="Solid" BorderWidth="1px" Font-Size="Medium"
Width="300px"></asp:TextBox>
<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txtEmail"
CssClass="failureNotification" ErrorMessage="E-mail is required." ToolTip="E-mail is required."
ValidationGroup="l1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr id="tr1" runat="server" visible="false">
<td align="right">
<asp:Label ID="Label1" runat="server">Username:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtUsername" runat="server" BorderColor="#666666" BorderStyle="Solid"
BorderWidth="1px"></asp:TextBox>
</td>
</tr>
<tr id="tr2" runat="server" visible="false">
<td align="right">
<asp:Label ID="Label2" runat="server">Password:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtPassword" runat="server" BorderColor="#666666" BorderStyle="Solid"
BorderWidth="1px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td align="left">
<asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="l1" Height="28px"
Width="100px" OnClick="btnSubmit_Click" />
</td>
</tr>
<tr>
<td>
</td>
<td>
Try <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/AgentLogin.aspx">Login</asp:LinkButton>
Again
</td>
</tr>
</table>
<p style="margin-left: 200px; font-family: Cambria; font-size: medium; font-weight: bold;">
<asp:Label ID="lblmsg" runat="server" ForeColor="Green" />
<asp:Label ID="lblerrmsg" runat="server" ForeColor="Red" />
</p>
</asp:Panel>
</center>
</div>
No comments:
Post a Comment