Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 24th, 2012, 07:36 PM
Registered User
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.Net Menu Control and Alternate Keys for 508 Compliance, AccessKey ?


I have a master menu control that I use on all pages (see below). I am now being required to make them accessable from the keyboard for 508 Compliance. I have seen examples of using AccessKey to bring focus to a control and wondered if there was a way of doing it with the Menu Control. Hoping for a quick and dirty solution for this newby...

<asp:Menu id="MainNavigationMenu" pathseparator="," Runat="Server" CssClass="menuMain" Orientation="Horizontal"
DynamicMenuStyle-HorizontalPadding="0" DynamicMenuStyle-VerticalPadding="0" DynamicMenuItemStyle-ItemSpacing="0"
StaticMenuStyle-HorizontalPadding="0" StaticMenuStyle-VerticalPadding="0" StaticMenuItemStyle-ItemSpacing="0"
StaticMenuItemStyle-Width="100px" StaticMenuItemStyle-Height="19px" StaticEnableDefaultPopOutImage="false"
DynamicMenuStyle-CssClass="menuMain_SubMenu" DynamicMenuStyle-BackColor="#2D4279">

<asp:MenuItem Text="Admin" ToolTip="Admin">
<asp:MenuItem Text="Users" ToolTip="Users" NavigateUrl="~/Web/Admins/123.aspx"/>
<asp:MenuItem Text="Admin Sites" ToolTip="Admin Sites" NavigateUrl="~/Web/Admins/345.aspx"/>
<asp:MenuItem Text="Configuration" ToolTip="Configuration" NavigateUrl="~/Web/Admins/678.aspx"/>

<asp:MenuItem Text="Tools" ToolTip="Tools">
<asp:MenuItem Text="Worklist" ToolTip="Worklist" NavigateUrl="~/Web/968.aspx"/>
<asp:MenuItem Text="Management" ToolTip="Management" NavigateUrl="~/Web/73889.aspx"/>
<asp:MenuItem Text="Reports" ToolTip="Reports" NavigateUrl="~/Web/Reports.aspx"/>
<asp:MenuItem Text="Free Text Search" ToolTip="Free Text Search" NavigateUrl="~/Web/35343.aspx"/>

<asp:MenuItem Text="Help" ToolTip="Help">
<asp:MenuItem Text="On-Line Help" ToolTip="On-Line Help" NavigateUrl='<%$ AppSettings:helpUrl %>' target="blank"/>


Old October 5th, 2012, 05:33 AM
Registered User
Join Date: Sep 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default re

plz check this

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Alt+Ctrl+Del Keys through Asp.Net 2005 p330418 ASP.NET 2.0 Basics 5 February 13th, 2008 01:18 PM
Asp : Menu Control sofia ASP.NET 2.0 Professional 1 November 28th, 2006 06:19 PM
accesskey crmpicco HTML Code Clinic 2 August 19th, 2005 09:06 AM
Menu shortcut keys not working! ebs Access 0 December 22nd, 2004 07:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.