0% found this document useful (0 votes)
6 views1 page

New 4

The document is an ASP.NET user control for a login form, featuring fields for email and password, both with required field validators. It includes options for 'Remember Me' and a link for forgotten passwords, as well as a button to submit the login. Additionally, it provides a prompt for users to register if they do not have an account.

Uploaded by

siddhupansari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

New 4

The document is an ASP.NET user control for a login form, featuring fields for email and password, both with required field validators. It includes options for 'Remember Me' and a link for forgotten passwords, as well as a button to submit the login. Additionally, it provides a prompt for users to register if they do not have an account.

Uploaded by

siddhupansari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.

cs"
Inherits="User_Controls_login" %>

<div id="loginForm" class="modal1">


<div class="container">
<span class="close" onclick="closeLoginForm()">&times;</span>

<h2>Login</h2>

<div class="login-group">
<asp:TextBox ID="TextBox1" runat="server" placeholder="Email"
TextMode="Email"
ClientIDMode="Predictable"></asp:TextBox>
<i class="fa-solid fa-envelope"></i>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

ErrorMessage="*" ControlToValidate="TextBox1" ForeColor="#CC3300"


ValidationGroup="loginForm"></asp:RequiredFieldValidator>
</div>

<div class="login-group">
<asp:TextBox ID="TextBox2" runat="server" placeholder="Password"
TextMode="Password"></asp:TextBox>
<i class="fa-solid fa-lock"></i>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"

ErrorMessage="*" ControlToValidate="TextBox2" ForeColor="#FF3300"


ValidationGroup="loginForm"></asp:RequiredFieldValidator>
</div>

<div class="remember-forgot-row">
<asp:CheckBox ID="CheckBox1" runat="server" Text="Remember Me" />
<asp:LinkButton ID="LinkButton1" runat="server" Text="Forget
Password"></asp:LinkButton>
</div>

<div class="login-btn">
<asp:Button ID="Button1" runat="server" Text="Login" />
</div>

<div class="label-container">
<asp:Label ID="Label1" runat="server" Text="Don't have a account?">
<asp:LinkButton ID="LinkButton2" runat="server"
Text="Register"></asp:LinkButton></asp:Label>
</div>

</div>
</div>

You might also like