Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Keydown event problem when enter key is pressed

Reply
Thread Tools

Keydown event problem when enter key is pressed

 
 
Gouri.Mahajan7@gmail.com
Guest
Posts: n/a
 
      05-23-2008
Hello,

I am loading the user control on the web page. In the user
control i have added the key down event, when enter key is pressed i
am displaying some message. When I run the user control independently
it is working fine. But when the user control is loaded on the web
page that is not getting fired. What could be problem can anybody
explain me.?

Actually I have tested the same application before it was working
fine but now it is causing some problem.

Thanks in advance,
Gouri.
 
Reply With Quote
 
 
 
 
cfps.Christian
Guest
Posts: n/a
 
      05-23-2008
I'm guessing you're using javascript to do the KeyDown event. The
problem I had with my user controls is I couldn't define the
javascript in the user control and had to do it within the form
containing the user control.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enter Key H*ll, control enter key submit button BrianDH ASP .Net Web Controls 3 01-12-2005 08:29 PM
button click event when keyboard's enter key is pressed =?Utf-8?B?RGlmZmlkZW50?= ASP .Net 2 12-20-2004 06:42 PM
Control postback events when enter key is pressed jhoge123@yahoo.com ASP .Net 0 12-02-2004 02:21 PM
how to disable post back if enter key is pressed on th form gh0st54 ASP .Net 2 09-27-2004 06:41 PM
How to detect that a key is being pressed, not HAS been pressed earlier!?? Rune Python 6 01-29-2004 12:39 PM



Advertisments