Set default button on ASP.Net Login Page

To set default button on ASP.Net Logjn page use below code

There is a defaultbutton property in form tag of aspx page in which you can set your login control id like defaultbutton=”btnLogin”

<form class="form-vertical login-form" id="fromLogin" runat="server" defaultbutton="btnLogin" >

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s