adding "accesKey" to a href ...

adding "accesKey" to a href ...

Post by Koen Hoore » Sun, 16 Nov 2003 05:31:02


This is a multi-part message in MIME format.


Hi there,

I need to have a link something like this (in the resulting html, actually it's cHTML):

<a href="blabla.aspx" accessKey="1">blabla</a>

And off course I want to use the mobileControl System.Web.UI.MobileControls.Link. But I can't seem to find the accessKey-property, or any way to add it (as an attribute ?) ...

Any ideas ?

Tx.

Greetingz,
Koen Hoorelbeke
XXXX@XXXXX.COM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi there,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need to have a link something like this (in the
resulting html, actually it's cHTML):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><a href="blabla.aspx"
accessKey="1">blabla</a></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And off course I want to use the mobileControl
</FONT><FONT face=Arial size=2>System.Web.UI.MobileControls.Link. But I can't
seem to find the accessKey-property, or any way to add it (as an attribute ?)
....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tx.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Greetingz,</FONT></DIV>
<DIV><FONT face=Arial size=2>Koen Hoorelbeke</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto: XXXX@XXXXX.COM "> XXXX@XXXXX.COM </A></FONT></DIV></BODY></HTML>
 
 
 

adding "accesKey" to a href ...

Post by lukezha » Tue, 18 Nov 2003 18:27:41

Hi Koen,

Thank you for the post. Currently I am try to find someone to assist you on
this issue and will update in the newsgroup soon.

Regards,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

 
 
 

adding "accesKey" to a href ...

Post by saching » Wed, 19 Nov 2003 08:22:51

Hello,
Thanks for your posting. The Mobile Link control does not have this AccessKey Attribute. However you could use a ContentTemplate and encapsulate ASP.NET web
form Hyperlink control within it, which DOES have an AccessKey attribute.

Example:
=========
<mobile:Form id="Form1" runat="server">
<mobile:Panel id="Panel1" runat="server">
<mobile:DeviceSpecific id="DeviceSpecific1" runat="server">
<Choice Filter="isCHTML10" Xmlns=" http://www.yqcomputer.com/ ">
<ContentTemplate>
<asp:HyperLink id="HyperLink1" accessKey="1" runat="server" NavigateUrl=" http://www.yqcomputer.com/ ">HyperLink
</asp:HyperLink>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Panel>
</mobile:Form>

Device Specific Rendering
http://www.yqcomputer.com/

Also, please note that not all devices support the accessKey attribute.

Thanks.

Regards,

Sachin Goregaoker

Microsoft Developer Support

This posting is provided "AS IS" with no warranties,
and confers no rights.
--------------------
|
| Hi there,
| I need to have a link something like this (in the resulting html, actually it's cHTML):
| <a href="blabla.aspx" accessKey="1">blabla</a>
| And off course I want to use the mobileControl System.Web.UI.MobileControls.Link. But I can't seem to find the accessKey-property, or any way to add it (as an
attribute ?) ...
| Any ideas ?
| Tx.
| Greetingz,
| Koen Hoorelbeke
| XXXX@XXXXX.COM
|