473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to use ajax for checking username from database on text change

How to use ajax for checking username from database on text change?
Also give the method for on button click
Sep 4 '10 #1
1 2012
Frinavale
9,735 Expert Mod 8TB
Ajax stands for Asynchronous JavaScript And XML. It runs client-side and allows you to make asynchronous requests to the server. This technology cannot access a database to validate user credentials. You must implement server-side code (C# or VB.NET in this case) to validate the user's credentials against the database.

You can make an asynchronous request to the server in ASP.NET using the ASP.NET UpdatePanel. Anything within the UpdatePanel will be asynchronously sent to the server and only that part of the page is refreshed when the response returns to the browser.

This means that the page will a lot smoother upon returning.


So, by placing your login controls into an UpdatePanel you can use Ajax to send an asynchronous request to the server so that your server-side code (C#/VB.NET) can authentication the user.

-Frinny
Sep 7 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mariame | last post by:
Hi everyone i have a textbox that is added dynamically in form load i want an event to happen when the text change how can i do it? Thx in Adv
8
by: addoty | last post by:
We have a web application that has a lot of large textareas for data collection. We need to track who makes changes, when and what changes were made. Right now I'm storing the entire text in a...
3
by: Barkster | last post by:
I registered for this service and when I put my username it looked up the username without submitting and told me it was taken after leaving the field. Any ideas on how they are doing it...
1
by: sankviju | last post by:
Here i created a javascript+php code by which u can create a check available link that u will usually see in many websites.Without submitting the whole form just u can check wther a username exist in...
1
by: lintolawrance | last post by:
hi friends, can any one out here help me by giving the guidelines for checking the username availability at run time with the help of Ajax.
1
by: imageguy | last post by:
We are trying to implement a system that checks the version of the application against a version number stored in the database. We don't want the app and the db don't become out of sync. We...
16
by: phpmel | last post by:
Hi again, I tried this Ajax database thing for the first time and it is not working. Here is the code this is testAjax.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
2
by: Ben | last post by:
Hi, i'm trying to get an AJAX modalpopup to confirm if a user really wants to change a dropdown list value (on the client side) -- if they choose 'No' in the popup, the dropdown list value...
0
by: stirucherai | last post by:
Here is my what I am trying to do 1. Open a MP3 file (Sound) -- Multiple songs -- roughly 30 seconds per song 2. Dynamically create TEXT Field using CreateText method 3. Show Lyrics for the...
2
by: Moiseszaragoza | last post by:
I am not sure if this goes in here ot the ASP forum I have been trying to get some simple AJAX on my site but its not going so well I am not sure what my problems is what i am trying to do is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.