[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Erik van Berkel

7/10/2003 9:20:00 PM

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

Thanx,

Erik


1 Answer

sachingo

7/15/2003 4:46:00 PM

0

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:Hyp...
</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
|
|
|