<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register.aspx.

cs" Inherits="register" %> <%@ Register TagPrefix="Header" TagName="Topheader" Src="~/Usercontrols/header.ascx" %> <%@ Register TagPrefix="Footer" TagName="Footer" Src="~/Usercontrols/footer.ascx" %> <%@ Register TagPrefix="rightstrip" TagName="rightstrip" Src="~/Usercontrols/rightstrip.ascx" %> <%@ Register TagPrefix="leftstrip" TagName="leftstrip1" Src="~/Usercontrols/leftstrip.ascx" %> <%@ Register TagPrefix="leftstrip" TagName="leftstrip2" Src="~/Usercontrols/shoppingcart.ascx" %> <%@ Register TagPrefix="welcome" TagName="welcomeuser" Src="~/Usercontrols/welcomeuser.ascx" %> <%@ Register TagPrefix="Tree" TagName="TagTree" Src="~/Usercontrols/Tree.ascx" %> <!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>********** Synergy Valu Mart **********</title> </head> <body onpaste="return false"> <form id="form1" runat="server"> <div> <table height="100%" width="75%" align="center" id="maintable" runat="server"> <tr><td id="Td1" height="20%" width="100%" runat="server"> <Header:Topheader ID="header" runat="server" /> </td> </tr> <tr><td id="Td2" height="5%" width="100%" runat="server" align="left"> <welcome:welcomeuser ID="welcome" runat="server" /> </td></tr> <tr> <td id="Td7" height="65%" width="100%" runat="server"> <table height="100%" width="100%" id="centertable" runat="server"> <tr> <td id="centertable1" height="100%" width="15%" runat="server" align="center"> <table id="leftstrip" align="center" height="100%" width="100%" runat="server"> <tr><td id="searchstrip" align="center" height="50%" runat="server" style="width: 82%"> <%--<leftstrip:leftstrip1 ID="searchengine" runat="server" />--%> <Tree:TagTree runat="server" ID="treeview" Visible="true" /> </td></tr> <tr><td id="shoppingcartstrip" align="center" height="50%" runat="server" style="width: 82%"> <leftstrip:leftstrip2 ID="shopstrip" runat="server" /> </td></tr> </table> </td>

<td id="centertable2" height="100%" width="70%" runat="server" align="center">

<table><tr> <td style="width: 153px; height: 75px"> <br /><br /><br /> </td> </tr></table>

<table height="5%" width="70%" id="userformtable" runat="server"> <tr> <td bgcolor="#CCCCCC"> <asp:Label ID="userformlbl" runat="server" ForeColor="black" Font-Size="Large">New User Registration</asp:Label> </td> </tr> </table> <table height="95%" width="70%" id="regtable"> <tr><br /> </tr> <tr> 10%"> <asp:Label ID="usernamelbl" runat="server" FontSize="Medium">User Name</asp:Label> </td> <td width="50%" style="height: 10%"> align="left" runat="server" <td width="50%" align="left" runat="server" style="height:

<asp:TextBox ID="usertxt" runat="server" width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator1" Runat="server" Display="Dynamic" ErrorMessage="Enter User Name" ControlToValidate="usertxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="usertxt" ErrorMessage="Only Characters" Display="Dynamic" ValidationExpression="(([A-Z]*[a-z]*)|([a-z]*[AZ]*))*" ForeColor="Chocolate"></asp:RegularExpressionValidator> </td> </tr> <tr>

<td height="10%" width="50%" align="left" runat="server" > <asp:Label ID="useridlbl" runat="server" FontSize="Medium" >User ID(Email ID)</asp:Label> </td> <td height="10%" width="50%" align="left" runat="server" > <asp:TextBox ID="useridTxt" runat="server" width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator2" Runat="server" Display="Dynamic" ErrorMessage="Enter User ID" ControlToValidate="useridtxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> <asp:RegularExpressionValidator ID="regexpvalidator2" runat="server" ErrorMessage="Enter Valid Email ID" ControlToValidate="useridtxt" Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="Chocolate" ></asp:RegularExpressionValidator> </td> </tr> <tr> <td height="10%" width="50%" align="left" runat="server">

<asp:Label ID="passwordlbl" runat="server" FontSize="Medium">Password</asp:Label> </td>

<td

height="10%" width="50%" align="left" runat="server">

<asp:TextBox ID="passwordtxt" TextMode="Password" runat="server" Width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator3" Runat="server" ErrorMessage="Enter Password" Display="Dynamic" ControlToValidate="passwordtxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> <asp:RegularExpressionValidator ID="refpword" runat="server" ControlToValidate="passwordtxt" Display="Dynamic" ErrorMessage="Can Have 4-15 Alphanumerics" ValidationExpression="(?=.*?\w.*?\w)[\d\w]{4,20}$" ForeColor="Chocolate"></asp:RegularExpressionValidator> </td> </tr> <tr>

<td

height="10%" width="50%" align="left" runat="server">

<asp:Label ID="confirmpwordlbl" runat="server">Confirm Password</asp:Label> </td> <td height="10%" width="50%" align="left" runat="server">

<asp:TextBox ID="confirmpwordtxt" TextMode="Password" runat="server" Width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator4" Runat="server" Display="Dynamic" ErrorMessage="ReEnter Password" ControlToValidate="confirmpwordtxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> <asp:comparevalidator id="comparevalidator1" Runat="server" Display="Dynamic" ErrorMessage="Password Missmatch" ControlToValidate="confirmpwordtxt" Type="String" Operator="Equal" ControlToCompare="passwordtxt" ForeColor="Chocolate"></asp:comparevalidator> </td> </tr> <tr> <td height="10%" width="50%" align="left" runat="server">

<asp:Label ID="phonenolbl" runat="server">Contact NO</asp:Label> </td> <td runat="server"> height="10%" width="50%" align="left"

<asp:TextBox ID="phonenotxt" runat="server" Width="45%" AutoCompleteType="Disabled" MaxLength="15" ></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator5" Runat="server" Display="Dynamic" ErrorMessage="Enter Contact No" ControlToValidate="phonenotxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> <asp:RegularExpressionValidator ID="refphone" runat="server" ControlToValidate="phonenotxt" Display="Dynamic" ErrorMessage="Must Be 10 Digits & Characters Not Allowed" ValidationExpression="[-+]?[0-9]{10,15}$" ForeColor="Chocolate"></asp:RegularExpressionValidator> </td> </tr> <tr> <td height="10%" width="50%" align="left" runat="server">

<asp:Label ID="addresslbl" runat="server">Address</asp:Label> </td> <td height="10%" width="50%" align="left" runat="server">

<asp:TextBox ID="addresstxt" textmode="multiline" runat="server" Width="45%" AutoCompleteType="Disabled" Height="30px" ></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator7" Runat="server" ErrorMessage="Enter Address" ControlToValidate="addresstxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> </td> </tr> <%--<tr> <td height="10%" width="50%" align="left" runat="server">

<asp:Label ID="hintquestionlbl" runat="server">Hint Question</asp:Label> </td> <td height="10%" width="50%" align="left" runat="server">

<asp:TextBox ID="hintqtxt" runat="server" Width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator8" Runat="server" ErrorMessage="Enter Hint Question" ControlToValidate="hintqtxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> </td> </tr> <tr> <td height="10%" width="50%" align="left" runat="server"> <asp:Label id="hintanslbl" runat="server" label="">Hint Answer</asp:Label> </td> runat="server"> <td height="10%" width="50%" align="left"

<asp:TextBox ID="hintanstxt" runat="server" textmode="Password" Width="45%" AutoCompleteType="Disabled"></asp:TextBox> <asp:requiredfieldvalidator id="Requiredfieldvalidator9" Runat="server" ErrorMessage="Enter Hint Answer" ControlToValidate="hintanstxt" ForeColor="Chocolate"></asp:requiredfieldvalidator> </td> </tr>--%> <tr> <td id="Td3" runat="server"> &nbsp; </td> height="10%" width="50%" align="left"

<td id="Td4" height="10%" width="50%" align="left" runat="server"> &nbsp;</td>

</tr> <tr> <td height="10%" width="50%" align="center" runat="server"> <asp:Button ID="submitbtn" runat="server" Text="Submit" ForeColor="red" OnClick="submitbtn_Click1" BackColor="White" FontBold="True" Width="20%" /> </td> <td height="10%" width="50%" align="center" runat="server"> <asp:Button ID="resetbtn" runat="server" Text="Reset" ForeColor="Red" OnClick="resetbtn_Click" CausesValidation="false" BackColor="White" Font-Bold="True" Width="20%"/> </td> </tr></table> <table><tr> <td> <asp:Label ID="errorlbl" runat="server" ForeColor="red" BackColor="yellow"></asp:Label> </td> </tr></table> <table><tr> <td style="width: 153px; height: 125px"> <br /><br /><br /> </td> </tr></table>

</td> <td id="rightstrip" height="100%" width="15%" runat="server" align="center"> <rightstrip:rightstrip ID="ads" runat="server" EnableTheming="true" /> </td> </tr> </table> </td> </tr> <tr> <td id="footer" height="10%" width="100%" runat="server"> <Footer:Footer ID="footerstrip" runat="server" /> </td> </tr> </table> </div> </form> </body> </html>