Home All Groups Group Topic Archive Search About

How to make button which has a underline character for shortcut key?

Author
22 Apr 2006 6:37 AM
ABC
How to make button which has a underline character for shortcut key?

Author
22 Apr 2006 12:33 PM
Teemu Keiski
Hi,

basically with WebControl.AccessKey:

http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.webcontrol.accesskey(VS.80).aspx

There's just that you need to cresate the underlining yourself for example
into a <button> element (HtmlButton control).
http://msdn2.microsoft.com/en-US/library/twd24e44.aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


Show quoteHide quote
"ABC" <a**@abc.com> wrote in message
news:uh0q9cdZGHA.4248@TK2MSFTNGP05.phx.gbl...
> How to make button which has a underline character for shortcut key?
>
>