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 8046205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:43:49+00:00 2026-06-05T05:43:49+00:00

We have an asp.net web application and we currently use the update panel on

  • 0

We have an asp.net web application and we currently use the update panel on user registration page to check if user exists. There are a few issues in doing this

1- update panel is slow

2- when a user tabs to the next textbox the focus is lost so user has to click manually back at the box, this is even worse when the update panel is in a popup

3- even though it does not refresh the page the page load methods are still called, when I only need to call the event fired.

We are using web forms as opposed to asp.net mvc

Our question is what is the best method to do this operation: check if username already exists.

client side: Regular JavaScript, JQuery, JSON, other possibilities?
Server side to check if user exists: another aspx page, web service, other possibilities?

What other techniques are possible or do you guys use?

Thanks in advance..

  • 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-06-05T05:43:51+00:00Added an answer on June 5, 2026 at 5:43 am

    Here is an example, from the client side: http://jsfiddle.net/HackedByChinese/XPd2G/2/

    I created a simple plugin called delayedkeyup, which fires an event after the user stops typing after several milliseconds. When the event does fire, I make an ajax call (in the example, it’s a mocked JSON endpoint; you’d replace this with a call to your web service, or page method marked with WebMethod, which does a simple DB lookup). The ajax call returns a JSON message indicating whether or not the email is valid.

    I add a visual indicator as to the result (green outline is good, red is bad). You could replace this with whatever validation scheme you use, or display a message, whatever.

    Note: if you do not like the validation using delayedkeyup, you could just replace it with .blur or .change, so the lookup is done when the user clicks or tabs out of the textbox, or changes the value (respectively).

    The WebMethod might look something like this:

    [WebMethod]
    public string ValidateEmail(string email)
    {
       var valid = IsEmailValid(email); // your validation routine
       return string.Format("{{ \"validEmail\":{0} }}", valid.ToString().ToLower());
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on web application using VB in ASP.NET. Right now I have
I have a ASP.NET web application which has more than 100 pages. Each page
I am working on an asp.net/C# web application, In the main page: I have
I have a GridView and want to on an ASP.NET Web Application page and
We use Team Foundation Server and have numerous ASP.NET Web Application Projects. Each of
I have an ASP.NET web application the entire site is browsed over HTTPS using
I have an asp.net web application written in C# using a SQL Server 2008
We have an ASP.NET web application hosted by a web farm of many instances
I have an ASP.NET web application and I want to be able to take
I have a asp.net web application and I'm using cache (HttpRuntime.Cache) to save some

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.