Answered by:
Navigation by numeric keys

Question
-
User-1896962098 posted
Hi
Is there a way to naviagate from asp.net 1.x mobile page or raise an event when user enters a number on there smartphone? Right now the user has to click on either of these links
e.g there is a list
1. Menu
2. Quick
3. Advanced
Entering 1 on keypad should redirect to menu.aspx or raise an event where in redirection takes place.
Thursday, September 20, 2007 3:26 PM
Answers
-
User923504599 posted
I think you can just use the accesskey attribute on an <A> tag.
See http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=anchorLinks5
-Damien
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 20, 2007 7:35 PM -
User-221787929 posted
<?xml:namespace prefix = asp /><asp:HyperLink class=st id="<
asp:HyperLink id="hplAccounts" accessKey="1" runat="server" NavigateUrl="~/Member/Accounts/Accounts.aspx">Accounts</asp:HyperLink> </asp:HyperLink>- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 24, 2007 2:37 PM -
User113421904 posted
Hi harmangill77,
Based on my understanding, accessKey is device specific feature, you can't have it run on all of the devices which don't support HTML or XHTML.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 26, 2007 6:48 AM -
User923504599 posted
See http://forums.asp.net/t/1135055.aspx as well as http://msdn.microsoft.com/en-us/library/system.web.ui.mobilecontrols.mobilepage.allowcustomattributes.aspx
-Damien
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 26, 2007 7:42 AM
All replies
-
User923504599 posted
I think you can just use the accesskey attribute on an <A> tag.
See http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=anchorLinks5
-Damien
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 20, 2007 7:35 PM -
User-1896962098 posted
Thanks Damien for your reply and the link you send. It works great with *.htm page but is there a way for aspx mobilepage to have this functionality?
Monday, September 24, 2007 1:30 PM -
User-221787929 posted
<?xml:namespace prefix = asp /><asp:HyperLink class=st id="<
asp:HyperLink id="hplAccounts" accessKey="1" runat="server" NavigateUrl="~/Member/Accounts/Accounts.aspx">Accounts</asp:HyperLink> </asp:HyperLink>- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, September 24, 2007 2:37 PM -
User113421904 posted
Hi harmangill77,
Based on my understanding, accessKey is device specific feature, you can't have it run on all of the devices which don't support HTML or XHTML.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 26, 2007 6:48 AM -
User923504599 posted
See http://forums.asp.net/t/1135055.aspx as well as http://msdn.microsoft.com/en-us/library/system.web.ui.mobilecontrols.mobilepage.allowcustomattributes.aspx
-Damien
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, September 26, 2007 7:42 AM -
User-1896962098 posted
Thanks Damien, Zhao and sinclairgf. I appreciate your help with this and I will give device filters a try. Thanks again.
Thursday, September 27, 2007 10:36 AM