Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Mobile (http://www.velocityreviews.com/forums/f61-asp-net-mobile.html)
-   -   adding "accesKey" to a href ... (http://www.velocityreviews.com/forums/t763578-adding-acceskey-to-a-href.html)

Koen Hoorelbeke 11-14-2003 08:31 PM

adding "accesKey" to a href ...
 
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
koen@brainsharp.net

MSFT 11-17-2003 09:27 AM

RE: adding "accesKey" to a href ...
 
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.)


Sachin Goregaoker 11-17-2003 11:22 PM

RE: adding "accesKey" to a href ...
 
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://schemas.microsoft.com/mobile/chtml10template">
<ContentTemplate>
<asp:HyperLink id="HyperLink1" accessKey="1" runat="server" NavigateUrl="http://www.msn.com">HyperLink
</asp:HyperLink>
</ContentTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Panel>
</mobile:Form>

Device Specific Rendering
http://msdn.microsoft.com/library/de...asp?frame=true

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
| koen@brainsharp.net
|




All times are GMT. The time now is 09:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57