DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 12 Aug 2007 18:10:09 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    BobLaughland
          2    BobLaughland


accesskey property   
Hi There,

I have a website which uses access keys. I can press alt+1, alt+2,
etc, and it hilights controls on the page.

My question is why do some controls need enter pressed after the
access key combination is pressed?

I have a bunch of '<a href/>' controls which require enter being
pressed after the access key combination is pressed to activate the
control (these are links to other pages).

I also have an '<asp:ImageButton/>' control, which doesn't require
enter to be pressed after the access key combination is pressed.

It seems that the html controls are behaving one way, and the ASP .NET
controls behaving the other way. They are both using the same
'accesskey' atribute.

By changing the minimum amount of stuff how can I make them all
consistant?

Thanks.
Date:Sun, 12 Aug 2007 18:10:09 -0700   Author:  

Re: accesskey property   
On Aug 13, 1:10 pm, BobLaughland  wrote:

> Hi There,
>
> I have a website which uses access keys. I can press alt+1, alt+2,
> etc, and it hilights controls on the page.
>
> My question is why do some controls need enter pressed after the
> access key combination is pressed?
>
> I have a bunch of '<a href/>' controls which require enter being
> pressed after the access key combination is pressed to activate the
> control (these are links to other pages).
>
> I also have an '<asp:ImageButton/>' control, which doesn't require
> enter to be pressed after the access key combination is pressed.
>
> It seems that the html controls are behaving one way, and the ASP .NET
> controls behaving the other way. They are both using the same
> 'accesskey' atribute.
>
> By changing the minimum amount of stuff how can I make them all
> consistant?
>
> Thanks.


Any ideas on this one? I read the microsoft documentation, and it says
that when an access key is pressed each type of control has the option
of performing an action (this is defined by the control, not the
user). It seems that this is the problem in this case. The ImageButton
is performing the click action when the access key is pressed.

One of the examples they gave was when an option group has an access
key associated with one of the items. When the access key(s) is/are
pressed there is the potential for the option group selection to
change.

Is it possible to disable this functionality, the control performing a
predefined action?
Date:Mon, 20 Aug 2007 14:14:07 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us