Click here to Skip to main content
Rate this: bad
good
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 3:48am
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 at 2-Jul-11 9:19am
   
onBlur ???
I can't find OnBlur event for my GridView...Please Explain about it briefly...
thatraja at 2-Jul-11 10:11am
   
Mark said onBlur event of Textbox inside the Gridview.
jkarthick1989 at 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 at 4-Jul-11 13:11pm
   
Lookup AJAX
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  

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

  Print Answers RSS
0 OriginalGriff 499
1 Maciej Los 325
2 Sergey Alexandrovich Kryukov 234
3 DamithSL 233
4 Mathew Soji 195
0 OriginalGriff 7,168
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,461
3 Manas Bhardwaj 4,876
4 Maciej Los 4,450


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 18 Mar 2013
Copyright © CodeProject, 1999-2014
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