Accesskey attribute


E

Erik van Berkel

How can I define an accesskey attribute to define a shortcut for my link
control?

Thanx,

Erik
 
Ad

Advertisements

S

Sachin Goregaoker

Hi Erik,
The Mobile link controls do not have the AccessKey property. However you could get around that by using an ASP.NET webform HyperLink control in a content
template, as follows:

<mobile:Form id="Form1" runat="server">
<mobile:panel id="Panel1" runat="server">
<mobile:DeviceSpecific id="DeviceSpecific1" runat="server">
<Choice Filter="isHTML32" Xmlns="http://schemas.microsoft.com/mobile/html32template">
<ContentTemplate>
<asp:HyperLink id="HyperLink1" runat="server" NavigateUrl="http://www.msn.com">HyperLink</asp:HyperLink>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:panel>
</mobile:Form>

Another thing to consider is that your targeted device may not support the accesskey attribute.

Hope this helps.

Thanks.

Sincerely,

Sachin Goregaoker
Microsoft Developer Support

This posting is provided "AS IS" with no warranties,
and confers no rights.
--------------------
|
| How can I define an accesskey attribute to define a shortcut for my link
| control?
|
| Thanx,
|
| Erik
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top