473,883 Members | 1,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

keyboard problem?

JV
I have an ASP.NET web page where IE keyboard navigation does not appear to
work as it should. Normally you can tab through hyperlinks on a web page,
and press <ENTER> to activate the current hyperlink. On my page, you cannot
tab to some of the hyperlinks and pressing <ENTER> does nothing. This is a
critical problem for accessibility.

I am aware of the TABINDEX attribute, but many of my hyperlinks are being
generated from within a datagrid and it is not straightforward to assign
them each a tab stop. But the real question is why doesn't the default
tab/enter functionality work?
Nov 19 '05 #1
3 1062
What's the problem in assigning TabIndex? In PreRender event loop through
the datagrid rows and calculate TabIndex based on the loop index. This will
fix the tab problem.

Eliyahu

"JV" <jo**********@g oisc.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I have an ASP.NET web page where IE keyboard navigation does not appear to
work as it should. Normally you can tab through hyperlinks on a web page,
and press <ENTER> to activate the current hyperlink. On my page, you cannot tab to some of the hyperlinks and pressing <ENTER> does nothing. This is a critical problem for accessibility.

I am aware of the TABINDEX attribute, but many of my hyperlinks are being
generated from within a datagrid and it is not straightforward to assign
them each a tab stop. But the real question is why doesn't the default
tab/enter functionality work?

Nov 19 '05 #2
JV
Actually I figured out that the tab problem was caused by not setting the
NavigateUrl (href) attribute -- these controls have javascript attached to
the OnClick event.

What really concerns me is why the ENTER key does not act like a click when
the hyperlink has focus. It appears (so far) that if the "href" property
contains javascript rather than a static URL, then the ENTER key stops
working. I can't think of a reason this would be done intentionally, it's
more likely a bug.

"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:u9******** *****@tk2msftng p13.phx.gbl...
What's the problem in assigning TabIndex? In PreRender event loop through
the datagrid rows and calculate TabIndex based on the loop index. This
will
fix the tab problem.

Eliyahu

Nov 19 '05 #3
JV
For the record, I was right and I was wrong. It was a bug, but it wasn't an
IE bug. It turns out that the guys who originally wrote this code had some
javascript code that disabled the ENTER key (what a brilliant idea). I just
found it and got rid of it.
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
8791
by: hokiegal99 | last post by:
I am a relative c newbie, so bare with me. I need to write a program that writes all keyboard keystrokes into a text file (up to 500KB at which point it would begin overwriting itself) regardless of what application the user is inputing data into (email, office documents, etc). The purpose of this program is to have a real time backup of user input so that user input can be restored when a PC crashes or unexpectedly looses power. The...
7
10724
by: Don Riesbeck Jr. | last post by:
I'm working on an application (OEM) using C# that utilizes input from a keyboard, and USB Barcode Scanner. The scanner is a HID Keyboard device, and input from it is sent to the system as if it were a keyboard. I need to be able to identify input from the scanner and keyboard independently. I've looked at DirectX.DirectInput, and using user32.dll to hook into the keyboard messages, but neither method seems to allow for identification of...
0
6751
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as my keyboard. the USB keyboard is detected as HID keyboard device. the program finds the keyboard if it is attached. and I am getting valid handles. however, everytime I use the readfile function I am getting "object reference not set to an instant...
2
8783
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as my keyboard. the USB keyboard is detected as HID keyboard device. the program finds the keyboard if it is attached. and I am getting valid handles. however, everytime I use the readfile function I am getting "object reference not set to an instant...
3
2020
by: nhmark64 | last post by:
Hi, Sometimes when I am cutting and pasting it looks like the keyboard layout changes; for instance ',' and 'w' are interchanged. Is there a better way to fix this problem than exiting then restarting the IDE? Thanks, Mark
7
26559
by: jpierson | last post by:
Hi, I am tryin to create a keyboard hook that sends the keystroke ctrl + pause/break. I haven't used keyboard hooks before so I'm not too sure how to use them public int MyKeyboardProc(int nCode, int wParam, int lParam) {
0
1768
by: Nuno | last post by:
Hello, I'm new on C# and i'm trying to implement a control that traps a certain sequence of keys to use for shortcut key functionality like the one used in the the Tools->Customize->Keyboard->"Press shorcut key(s)" control in IDE. Traping the normal keys in the keyboard works, keys from 0-9 and A-Z all ok, but the problem is when i press some special keys for example this ~ < what appears on my ctrl is something like OemQuestion
1
3004
by: cvairetti | last post by:
Hi, I just write an application in C# that show an interface with five button, each button starts an external application that it comes in front of the main C# application with focus on. When the users finish to use the external program and close it, under there is still the c# application that let the user choose other software to start. Now the problem is that sometimes I lost the focus of the external application and so it becomes...
2
5980
by: Justin | last post by:
So I have a keyboard hook that I have implemeted into my c# app. I need to not allow any hotkey actions to be performed when my app is opened. I can capture the key events and handle them if I want to. The only problem is that I have fields that require input. Do I have to programmatically add the characters to the input fields when I am handling the event. I don't want these keys sent to the system. But only to my program. Or does...
1
2290
by: Aycex | last post by:
I am taking my first java class as i am a Database person this is quite interesting and here is my problem. We are supposed to be learning to overload a class and i believe i have my code correct the problem is I cannot get the keyboard.nextdouble to accept me hitting enter and it having a null to make my overloaded method work. Here is the code i have. I am supposed to be able to just add in one, two, or three variables and the...
0
9936
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9791
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10742
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10845
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7970
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7123
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5797
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4609
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 we have to send another system

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.