Click here to Skip to main content
15,905,682 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I'm using Gridview containing four textboxes. Inside the first textbox when i gave userID, other three textboxes should fill by retrieving database values.

When i google i found that, i need Onblur event of Textbox1 to do these. but some more results says that i need AJAX to do that. I'm newer to both these two solutions.


Can you please suggest me which one is better and How to do that??
Posted
Updated 3-Jul-11 20:41pm
v2

You're very confused. I suggest that AJAX is almost certainly too complicated for you right now, so you should forget this task. I assume no-one is paying for your code, so choose something else to do to learn. AJAX is what you'd need to do, to respond to onblur with a database call. It sounds like you should learn C# first, then ASP.NET, then javascript, then worry about AJAX.
 
Share this answer
 
Comments
J.Karthick 4-Jul-11 2:55am    
Ya...i agree i should learn more.
But i need you people to initiate me to learn. Even i used JavaScript and JQuery to retrieve database values using "Handler.ashx" file(Inside grid). But now i' stuck with this now.
Can you help me?
Christian Graus 4-Jul-11 4:25am    
The point is, you can't learn by asking us to do the code for you, as you negotiate four different things that you don't understand, being C#, ASP.NET, javascript and AJAX.
Hope this[^] link might help you.
 
Share this answer
 
Comments
J.Karthick 4-Jul-11 2:59am    
I dont think that your link got solution still... Please suggest me in words or by sample codes.... i don't need textChanged event...Its fails for me

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