Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - key press event of textbox in asp.net without javascript

Reply
 
Old 05-23-2008   #1 (permalink)
Chetana


 
 

key press event of textbox in asp.net without javascript

hi
I want to write a code on text chenging(textBox1_KeyPress) event of
textbox as we do in windows , but i am unabel to do it in asp .net coz
we get only textchanged event. In my application i want to search name
with entered text (without on click).i.e i dont want textchanged
event coz in this event after entering text we have to click outside
to go to textchanged event .
i dont want that click .
somebody suggest me solution for this .
thanks in advance

My System SpecsSystem Spec
Old 05-23-2008   #2 (permalink)
Mr. Arnold


 
 

Re: key press event of textbox in asp.net without javascript


"Chetana" <chetanasystems@xxxxxx> wrote in message
news:dc5b9183-361a-412c-ab31-82c4317fbc95@xxxxxx
Quote:

> hi
> I want to write a code on text chenging(textBox1_KeyPress) event of
> textbox as we do in windows , but i am unabel to do it in asp .net coz
> we get only textchanged event. In my application i want to search name
> with entered text (without on click).i.e i dont want textchanged
> event coz in this event after entering text we have to click outside
> to go to textchanged event .
> i dont want that click .
> somebody suggest me solution for this .
> thanks in advance
You can do it with JavaScript, Ajax Pro for .Net and a HTML input Textbox's
events. If I am correct, Ajax Pro for .Net is free. The CodeBehind file is
used as a proxy. There are lots of howto(s) in using JavaScript and Ajax out
on Google.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
leave event fires disabling textbox below -cursor stays in 1st tex .NET General
invalidate textbox .NET General
Copying Textbox values in Gridview with Javascript .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46