@model ShopINdeal.Models.AdminUser
@{
ViewBag.Title = "LogIn";
Layout = "~/Views/Shared/_Layout1.cshtml";
}
LogIn
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ContactNo, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.ContactNo, new { htmlAttributes = new { @onKeyPress = "return isNumber(event);", @onkeyup = "return limitlength(this, 11);", @class = "form-control", @placeholder = "Enter Mobile No" } })
@Html.ValidationMessageFor(model => model.ContactNo, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Password, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control", @placeholder = "Password" } })
@Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
@Html.ActionLink("Forgot Password", "forgotpassword", "AdminUserLogin")
}

Karthik ElumalaiPosted Jun 20, 2016, 1:25 AM
<div id ="mainsub">
<fieldset>
<legend>TPMS LoginPage:legend>
<table >
<tr>
<td><asp:Label ID="Label1" runat="server" Text="User ID" >asp:Label>td>
<td><asp:TextBox ID="txtusrid" runat="server" CssClass="txtbx" >asp:TextBox>td>
tr>
<tr>
<td><asp:Label ID="Label2" runat="server" Text="Password" >asp:Label>td>
<td><asp:TextBox ID="txtpwd" runat="server" TextMode="Password" CssClass="txtbx" >asp:TextBox>td>
<td><asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" Text="Login" CssClass="btn" />
<asp:Label ID="lblLoginValidateError" runat="server">asp:Label>
td>
tr>
table>
fieldset>
div>
#mainsub
{
width:55%;
margin:0 auto;
margin-top:0px;
}
Dr.Ajay KashyapPosted Jun 20, 2016, 2:02 AM
Karthik ElumalaiPosted Jun 20, 2016, 1:47 AM
Dr.Ajay KashyapPosted Jun 20, 2016, 1:37 AM
Dr.Ajay KashyapPosted Jun 20, 2016, 12:06 AM
Vinay SinghPosted Jun 14, 2016, 7:26 AM
Dr.Ajay KashyapPosted Jun 14, 2016, 7:21 AM
Vinay SinghPosted Jun 14, 2016, 3:06 AM