Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > AccessKey doesn't work when load pdf document on XP?

Thread Tools

AccessKey doesn't work when load pdf document on XP?

david cheng
Posts: n/a
I am trying to load the pdf document through AccessKey. Here is the

<body bottomMargin="0" bgColor="gray" leftMargin="0" topMargin="0"
<form id="Form1" method="post" runat="server">
<table height="100%" width="100%">
<td vAlign="top" width="80">
<asp:imagebutton id="IBtn1" accessKey="1" runat="server"
<asp:imagebutton id="IBtn2" accessKey="2" runat="server"

<td width="*"><iframe id="iframe1" width="100%" height="100%"

private void IBtn1_Click(object sender,
System.Web.UI.ImageClickEventArgs e)
{ iframe1.Attributes.Add("src", "1.pdf"); }

private void IBtn2_Click(object sender,
System.Web.UI.ImageClickEventArgs e)
{ iframe1.Attributes.Add("src", "2.pdf"); }

================================================== ========
Mouse click always works for switching pdfs. But AccessKey doesn't
work on XP. Accesskey works on windows 2000. Any ideas? Thankx in

BTW, this behavior (switching documents using AccessKey) only applies
to .pdf, .doc or other documents requiring plug-ins to open. It will
work fine with .txt or html contents.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MenuItem - ALT, LONGDESC attributes, AccessKey Property? ASP .Net 0 01-09-2006 07:02 AM
AccessKey and letting the user know =?Utf-8?B?QW5kcmU=?= ASP .Net 1 01-02-2005 08:24 AM
KeyBoard Accelerator (AccessKey)? WJ ASP .Net 1 06-26-2004 07:33 PM
AccessKey.............. Gill Smith ASP .Net 1 05-17-2004 11:34 PM
Accesskey option Manan ASP .Net 1 07-16-2003 06:48 AM