470,842 Members | 1,337 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,842 developers. It's quick & easy.

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

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.

Nov 18 '05 #1
0 1140

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Alex Billerey | last post: by
7 posts views Thread by J. Hall | last post: by
1 post views Thread by Manan | last post: by
9 posts views Thread by Udo Marx | last post: by
1 post views Thread by Csaba Gabor | last post: by
10 posts views Thread by ciaran | last post: by
5 posts views Thread by Lea GRIS | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.