Home All Groups Group Topic Archive Search About
Author
25 Sep 2006 6:36 PM
Tony Girgenti
Hello.

Is it possible to assign an access key to a button control on a web form ?

The way you do for a windows button on a windows form.

Thanks,
Tony

Author
25 Sep 2006 8:07 PM
Brennan Stehling
Yes.  Although I have yet to see anyone use it.

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.webcontrol.accesskey.aspx

Brennan Stehling
http://brennan.offwhite.net/blog/


Tony Girgenti (nospam) wrote:
Show quoteHide quote
> Hello.
>
> Is it possible to assign an access key to a button control on a web form ?
>
> The way you do for a windows button on a windows form.
>
> Thanks,
> Tony
Author
27 Sep 2006 1:30 AM
ReyN
hello Tony

on this page shows a working example of using the WebControl.AccessKey
property

http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/WebControlClassAccessKey.aspx