Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 829123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:49:59+00:00 2026-05-15T03:49:59+00:00

I am having an issues while using the <asp:login> tag. When a user clicks

  • 0

I am having an issues while using the <asp:login> tag. When a user clicks the “login” button, the form will process correctly. However, when the user hits the enter key, the form self submits and does not process the login, whether it was correct information or not. I am using a combination of MasterPages, and Umbraco.

My aspx code looks like this:

 <%@ Master Language="C#" MasterPageFile="/masterpages/AccountCenter.master" CodeFile="~/masterpages/Login.master.cs" Inherits="LoginPage" AutoEventWireup="true" %>

<asp:Content ContentPlaceHolderID="RunwayMasterContentPlaceHolder" runat="server">
    <div class="loginBox">
 <div class="AspNet-Login-TitlePanel">Account Center Login</div>
 <asp:label id="output" runat="server"></asp:label>
 <asp:GridView runat="server" id="GridResults" AutoGenerateColumns="true"></asp:GridView>
 <asp:Login destinationpageurl="~/dashboard.aspx" ID="Login1" OnLoggedIn="onLogin" runat="server" TitleText="" FailureText="The login/password combination you provided is invalid." DisplayRememberMe="false"></asp:Login> 
</div>
</asp:Content>

In the actual rendered page, I see this javascript on the form:

<form method="post" action="/dashboard.aspx?" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">

That javascript function is defined as:

    <script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>

The javascript is always evaluating to True when it runs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:49:59+00:00Added an answer on May 15, 2026 at 3:49 am

    My first question would be: what is the FIRST submit button in the form? Because that’s the one which will receive the submit action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I am having some issues while using Nggalley plugin for wordpress the plugin
I'm having issues while populating a combobox using DirectStore, the combobox is as follow:
I'm having a lot of issues with PHP and Apache while using os-x mountain
I'm having some issues while using a transparent PNG image as a background image
I'm having issues with php-cgi.exe crashing while using php-pdo-mysql.dll. I'm using the data mapper
I am currently having issues uploading files to amazon S3 while using paperclip. It
I'm having memory issues while reading video frames from an existing video chosen from
I've developed an android app and it is having an issue while the user
Am having issues with printing different sized PDF's using GhostScript (V9.05). The PDF in
I am having problem in using the source view of an asp.net page in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.