Click here to Skip to main content
12,399,799 members (50,201 online)
Rate this:
 
Please Sign up or sign in to vote.
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 2-Jul-11 2:48am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Have you tried to use the onBlur event? This event occurs when an input control looses focus, such when the tab key is pressed.
  Permalink  
Comments
jkarthick1989 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.
jkarthick1989 4-Jul-11 2:19am
   
Can you please tell me how to retrieve DB values from my Textbox OnBlur event using JAVASCRIPT??
Please...
Mark Nischalke 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 18 Mar 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100