Click here to Skip to main content
11,922,026 members (56,390 online)
Rate this:
Please Sign up or sign in to vote.

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
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.
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??
Mark Nischalke 4-Jul-11 13:11pm
Lookup AJAX
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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

  Print Answers RSS
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

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