Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi,

I have an gridview with Five text boxes. In my text1 while i type some alphabet it searches my database and give suggestion strings. In that if, i select a particular string it will appear in that text1.It works fine using JQuery.

But now my problem is, i can't find any "CELL LEAVE" or "COLUMN LEAVE" event for this ASP.Net Grid. Actually my requirement is, While i press "TAB" Key in text1, it should search the database and fetch some information and place it in text2 and text3.

I can't even find any "KEY PRESS" or "KEY DOWN" for my grid Textbox. I just tried with "TEXTCHANGED" event. But its not works fine, because while i hit alphabet "A" my JQuery give me some suggestions. but after i selected those suggestions it searches my database with "A" which i entered not with the Suggestion i selected. Its POSTBACK automatically....


PLease give your suggesstion to do that. It should search my DB with the Selected string not with the Entered String.
Posted

 
Share this answer
 
Have you tried to use the onBlur event? This event occurs when an input control looses focus, such when the tab key is pressed.
 
Share this answer
 
Comments
J.Karthick 2-Jul-11 9:19am    
onBlur ???
I can't find OnBlur event for my GridView...Please Explain about it briefly...
thatraja 2-Jul-11 10:11am    
Mark said onBlur event of Textbox inside the Gridview.
J.Karthick 4-Jul-11 2:19am    
Can you please tell me how to retrieve DB values from my Textbox OnBlur event using JAVASCRIPT??
Please...
[no name] 4-Jul-11 13:11pm    
Lookup AJAX

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