Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use Check UserId availability without refresh the form.
How can is solve this. Can i use ajax or any other procedure. Please providing the code for that. I used UserId field in the Sql server database and one textbox name txtUserId in my web page. I want if user leave from the textbox then it show a message userId is available or not.

Please help..i can't do it.

Thanks in advance
Posted
Updated 23-May-11 23:20pm
v2
Comments
Ankur\m/ 24-May-11 6:07am    
You have been told many a times. Why don't you use Google for such questions? These are very common requirements are millions of examples are available on the web. :doh:

All you want is to know how to talk to server from client side (Javascript).

There are few ways to interact with server side through client side(Javascript):
1. XMLHttpRequest[^]
2. Callback[^]
3. WebService call[^]
4. PageMethod[^]
 
Share this answer
 
Comments
raju melveetilpurayil 24-May-11 6:24am    
yap: right call :) my 5
U have to use ajax for that.
U can use textbox Onblur event to call javascript.
For more info see this link

http://dotnetspidor.blogspot.com/2009/03/check-username-availability-using.html[^]
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900