Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Accesskey attribute
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
|
|
|
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Accesskey attribute
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password