我使用 devexpress reportviever 和报告工具栏。查找按钮无法跨浏览器工作,因为它使用了 activex,所以只有它可以工作 Internet Explorer。我的问题是如何打开 Internet Explorer 的 aspx 页面?例如在 Internet Explorer 中打开重定向页面后。感谢所有会员
问问题
3104 次
2 回答
0
您无法在无法控制的页面导航之间切换浏览器。服务器只提供内容,浏览是客户端,通常仅限于同一个浏览器。
如果您必须使用 Internet Explorer,那么您必须在用户登陆您的网站/页面时警告他们。
于 2013-08-20T09:10:57.930 回答
0
所有 aspx 页面的默认浏览器:
If you right click on any page other than default.aspx you will not get the "browse with" option.
您需要在默认浏览器中设置 Internet Explorer。如果您打开新窗口,它们会自动在新的 IE 浏览器窗口中打开您的页面
使用下面的javascript方法打开窗口
function openWindow(url)
{
window.open(url, 'windowname', 'scrollbars=0,resizable=0,status=0,toolbar=0,menubar=0');
return false;
}
在您的页面上放置一个链接按钮
<asp:LinkButton ID="lnkOpenWindow" Text="Attach" runat="server" OnClientClick="openWindow('X01.aspx?ID=5')"></asp:LinkButton>
于 2013-08-20T09:45:24.937 回答