Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / November 2003

Tip: Looking for answers? Try searching our database.

adding "accesKey" to a href ...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Koen Hoorelbeke - 14 Nov 2003 20:31 GMT
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 - 17 Nov 2003 09:27 GMT
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

Signature

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

Sachin Goregaoker (MS) - 17 Nov 2003 23:22 GMT
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/default.asp?url=/library/en-us/mwsdk/html/mwco
ndevicespecificrendering.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):
[quoted text clipped - 5 lines]
| Koen Hoorelbeke
| koen@brainsharp.net

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.