Welcome Guest Search | Active Topics | Sign In | Register

Keyboard Navigation in Treeview Options
Arnold Bailey
Posted: Saturday, October 13, 2007 4:31:10 AM
Rank: Advanced Member
Groups: Member

Joined: 8/4/2007
Posts: 42
We have quite a few blind users so keyboard navigation is important. In IE and Opera the keyboard navigation on treevies works fine. Safari no,but Safari has lots of problems.

I'm surprised that i can't seem to get FireFox 2.0.0.7 to work though. Any ideas why?
eo_support
Posted: Saturday, October 13, 2007 7:30:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

We verified the latest build (2007.1.43) on FireFox 2.0.0.7 and it works fine. Our steps are:

1. Create a blank web form;
2. Drop a TreeView onto the form;
3. Choose Explorer templates;
4. Set EnableKeyboardNavigation to true;

We then run the page in FF and it works fine. Can you try the same and see if it works? If it does, it might has to do with other page contents.

Thanks
Arnold Bailey
Posted: Saturday, October 13, 2007 7:54:13 AM
Rank: Advanced Member
Groups: Member

Joined: 8/4/2007
Posts: 42
On further testing it appears to be a focus problem. The treeview items have a NavigateURL with a target of another frame in a frameset. If I freshly load the frame containing the tree and click an item it does indeed work with the keys correctly.

If I click in another frame to do something there and then click back to an item in the treeview, the NavigateUrl is indeed loaded in the frame as expected but the focus remains in the other frame. If the other frame is scrollable for instance it scrolls with the keystrokes. Multiple clicks in the treeview and the focus still remains in the other frame.

If I click the +/- expand icon it expands as expected but now the focus is no where. If i click on an item now the focus will sometimes be on the tree and othertimes on the scroll bar for the frame.

I guess I need a way to insure that a OnClickItem focuses the Treeview in a mode where key strokes work.
eo_support
Posted: Saturday, October 13, 2007 9:46:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Arnold,

That makes sense. However I am not sure if there is a way to force the browser to put the focus back to the TreeView because the TreeView itself does not contain any element that can receive focus. Most browser will switch "active frame" upon mouse clicks, but obviously FireFox does not. A workaround is to put a "focusable" element in the TreeView frame, then handle ClientSideOnItemClick event to set focus to that "focusable" element and see if that helps.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.