473,473 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to trap keys in asp.net

2 New Member
Sir/Mam,
I need to trap keys f4,key down,key up or else Enter.

Solution were given in this can be used only in vb.net.i could nt use that codesnippet in asp.net.please help me to work on this.
Nov 3 '08 #1
2 1335
joedeene
583 Contributor
Are you saying that you have a solution to catch key events in c#? If so, insertAlias has found a great resource that shows the comparison between C# and VB.NET.

The link is right here: http://www.harding.edu/fmccown/vbnet...omparison.html.

And if I've misread your question, and you do not have any source code or nothing to work from, a simple Google search with keywords like "how to catch key events in asp.net" would've given you numerous tutorials, like this one: http://www.beansoftware.com/asp.net-...enter-key.aspx. Well, if you need further assistance please let us know. :)

P.S. Welcome to The Bytes Community :D

joedeene
Nov 3 '08 #2
nirmala ragunathan
2 New Member
Sir,
what i actually need is,when i press enter key in the column of gridview i need to display another popup window.it contains the detail of particular columns.

for this i need to know how to trap the enter key in gridview.this is my issue.pls help to work on this
Nov 4 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Fred Sawtelle | last post by:
I'm trying to trap the Enter key in any of the key events (keypress, keydown, keyup) of the Windows .Net combobox control. Try as I might, I cannot get the event to respond to an Enter key press;...
0
by: OC | last post by:
Because of the requirements on a high-speed data entry form, I need to reliably trap certain keys (specifically the "/", "*", "-", and "+") keys on the 10-key pad and treat them as "Function keys"....
9
by: Woody Splawn | last post by:
On a winform, how do I trap for the user pressing Control Delete? I thought perhaps something like the following in the keydown event of the grid, but the code below does not work. If e.KeyCode...
2
by: Matthew | last post by:
When a user types Ctrl.+V in one form, I would like to trap the event and do something else. Is this possible? Matthew
3
by: Robert W. | last post by:
In my WinForms app I wanted to implement a Read-Only textbox. I didn't like the appearance a textbox takes on when the ReadOnly property is set true so instead I trapped the KeyPress event with a...
8
by: =?Utf-8?B?RyBIdXN0aXM=?= | last post by:
This is the 2nd time posting so sorry for duplications. I am using VB.NT 2005 & a standard Combobox. I've been wracking my brain over this problem for a over a month & cannot seem to find a way to...
2
by: Charles Law | last post by:
I'll kick myself when you tell me, but ... I have a user control on a form, and I want the user control to see the arrow keys when I press them. If I press just about any other key the control's...
3
by: Z.K. | last post by:
I have a problem trapping the return key. I thought if I added the forms keydown event handler that this would do what I want. It did not even go into the keydown event handler when I pressed...
2
by: Linda Liu[MSFT] | last post by:
Hi George, Keyboard input introduces the idea of focus. In Windows, a particular element is designated as having the focus, meaning that it acts as the target for keyboard input. The user sets...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.