网站适用于Firefox,而不适用于IE(Response.Redirect) [英] Site works with Firefox, not with IE ( Response.Redirect )

查看:73
本文介绍了网站适用于Firefox,而不适用于IE(Response.Redirect)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开发了一个内部网站,其中包含针对我们的SQL服务器的各种查询。我在Response.Redirect中添加了按钮。这些按钮

不适用于Internet Explorer,但是当使用Firefox时,页面

完美无瑕。有谁知道为什么会这样或者如何修复它?

I recently developed an internal website with various queries against
our SQL server. I added buttons with Response.Redirect. These buttons
do not work with Internet Explorer, however when using Firefox the page
works flawless. Does anyone know why this is happening or how to fix it?

推荐答案

很酷的东西!适用于FireFox,而不适用于IE ....

您有任何示例代码吗?


问候,

Lars- Inge T?nnessen
Cool stuff! Works with FireFox and not with IE....
Do you have any sample code?

Regards,
Lars-Inge T?nnessen




Lars-Inge T?nnessen(VJ#MVP)写道:

Lars-Inge T?nnessen (VJ# MVP) wrote:
酷的东西!适用于FireFox而不是IE ....
你有任何示例代码吗?

问候,
Lars-Inge T?nnessen
Cool stuff! Works with FireFox and not with IE....
Do you have any sample code?

Regards,
Lars-Inge T?nnessen




protected void btnDVD2_Click(object sender,EventArgs e)

{


Response.Redirect(" dvd.aspx?dvd =" + txtSearch.Text);


}


txtSearch是一个文本框。

页面这是有框架重定向...


< BASE href =" /" target =" Results"

< / BASE>



protected void btnDVD2_Click(object sender, EventArgs e)
{

Response.Redirect("dvd.aspx?dvd=" + txtSearch.Text);

}

txtSearch is a text box.
the page this is on has a frame redirect...

<BASE href="/" target="Results">
</BASE>


KBuser< Ky ****** **@gmail.com>写道:
KBuser <Ky********@gmail.com> wrote:
我最近开发了一个内部网站,对我们的SQL服务器提出了各种疑问。我在Response.Redirect中添加了按钮。这些按钮
不适用于Internet Explorer,但是当使用Firefox时,页面
完美无瑕。有谁知道为什么会发生这种情况或如何修复它?
I recently developed an internal website with various queries against
our SQL server. I added buttons with Response.Redirect. These buttons
do not work with Internet Explorer, however when using Firefox the page
works flawless. Does anyone know why this is happening or how to fix it?




嗯,很难说只给出了按钮所做的信息。 />
不起作用。它们以什么方式不起作用?你有浏览器请求

吗?怎么了?你能给一些示例代码吗?你知道

问题是在浏览器端还是服务器端?


-

Jon Skeet - < ; sk *** @ pobox.com>
http://www.pobox .com / ~siget 博客: http://www.msmvps.com /jon.skeet

如果回复小组,请不要给我发邮件



Well, it''s hard to say given only the information that the "buttons do
not work". In what way do they not work? Do you get a browser request
at all? What happens? Can you give some sample code? Do you know
whether the issue is at the browser end or the server end?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too


这篇关于网站适用于Firefox,而不适用于IE(Response.Redirect)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆