积极答复者
ie11的问题,急,请帮忙看看 正在做项目

问题
-
使用UpdatePanel控件做了一个不刷新翻页,我在自己的电脑上把网站部署在IIS上可以翻页,我发布在服务器上就没有效果了。好像就只有IE11有这个问题,其他浏览器都可以的。
- 已编辑 ASP.NET开发者 2014年11月12日 3:14
答案
-
剛剛發現,有報導說,ASP.NET 在.NET2 和.NET4 中,會偵查IE10 和IE11 出錯誤,建議安裝Service Pack或直上.NET 4.5。
我忘了問你的.NET版本,在Server上的。(你好像說過,在開發的電腦上是沒問題,對吧?那是.NET 什麼version number?有SP?)
http://www.hanselman.com/blog/IE10AndIE11AndWindows81AndDoPostBack.aspx
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.- 已编辑 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月12日 9:44
- 已建议为答案 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月13日 7:58
- 已标记为答案 Pengzhen Song 2014年11月20日 15:48
-
是的,我同意 KenLin的看法,你可以安装一下.net 4.5 在你的 web server(windows server 08 r2) ,然后注册一下:
aspnet_regiis [options]
详细信息你可以参考这里:
http://msdn.microsoft.com/en-us/library/vstudio/k6h9cz8h(v=vs.100).aspx
#install .net
http://www.visualstudio.com/downloads/download-visual-studio-vs#net-45
- 已编辑 Mortene Nielsen 2014年11月13日 2:45
- 已建议为答案 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月13日 7:58
- 已标记为答案 Pengzhen Song 2014年11月20日 15:48
全部回复
-
你好,請問
1) VS版本是什麼?
2) Windows 版本? x86 還是 x64?
3) 請貼上有關的代碼
大家一齊探討、學習和研究,謝謝! MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD, MCT, Microsoft Community Star(TW & HK), Microsoft MVP for VB.NET since 2003 My MSMVP Blog 請記得將對您有幫助的回覆"標示為解答"以幫助其他尋找解答及參與社群討論的朋友們。 Please remember to click "Mark as Answer" on the post that helps you. This can be beneficial to other community members reading the thread.
-
VS是2012 Windows是8.1 x64的
分页是自己做的控件
ucNewUser.CurrentPageChanged += new UserControl.CurrentPageChangedEventHandler(ucNewUser_CurrentPageChanged); 这是点击首页,上一页、下一页、尾页 的事件
//ucNewUser事件 上一页、下一页、首页、尾页
void ucNewUser_CurrentPageChanged(UserControl.Pager sender, int newPage)
{
ExecuteQueryData(newPage, queryNewImage, _pageSize);
}//绑定新会员及分页
private void queryNewImage(Pagination pagination)
{
Guid adminId = Guid.Parse("4523ea20-240f-4cc9-98cc-0ce92052cd39");//网站内部会员
try
{
IList<PBaby_Users> us = member.PBaby_Users.Where(u => true && u.Id != adminId).OrderByDescending(u => u.Date).ToList();
if (us != null && us.Any())
{
var startRow = pagination.PageSize * (pagination.PageIndex - 1);
var endRow = pagination.PageSize * pagination.PageIndex;
IList<PBaby_Users> datas = us.Take(endRow).Skip(startRow).ToList();
loadNewUser(datas);//页面加载方法
if (datas.Any())
{
ucNewUser.Visible = true;
if (pagination.GetRowCount)
{
ucNewUser.RowCount = us.Count();
}
}
else
{
ucNewUser.Visible = false;
}
datas = null;
us = null;
}
}
catch (Exception)
{
ShowMessage("新会员加载失败,请刷新!");
}
}- 已编辑 ASP.NET开发者 2014年11月12日 3:30
-
好像說AJAXToolKit 在 IE11和Win8.1時,會有這情況,應該要等AJAXToolkit 更新新的版本才能解決。
有些人建議可強迫IE11去用較低版本運作,可加以下去Head 的 tag 中
<meta http-equiv="X-UA-Compatible" content="IE=9" />
你也可以參考一下這連結
http://msdn.microsoft.com/en-us/library/windows/desktop/ff966528(v=vs.85).aspx
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread. -
先試試用Meta tab。
另外你可以用Win7和IE11試試,看是否真的是Win8.1和IE11的問題。
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread. -
我在自己的电脑上把网站部署在IIS上可以翻页,我发布在服务器上就没有效果了。好像就只有IE11有这个问题,其他浏览器都可以的。
1) 你是用 VS2012 的 IIS Express 還是用 Window 8.1的IIS?
2) Server 是 什麼OS? Win2003? Win2008? Win2008R2?
3) 用Win7 + IE 10 或 IE 9 都沒事?
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread. -
如果在 IE 11 上,按F12 轉用 IE9 Mode,也會出錯嗎?
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread. -
如果都一樣,那應該是那一台出問題而已。能找一台電腦,能用IE (非IE11) 看而沒事的,再安裝IE11看看
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread. -
剛剛發現,有報導說,ASP.NET 在.NET2 和.NET4 中,會偵查IE10 和IE11 出錯誤,建議安裝Service Pack或直上.NET 4.5。
我忘了問你的.NET版本,在Server上的。(你好像說過,在開發的電腦上是沒問題,對吧?那是.NET 什麼version number?有SP?)
http://www.hanselman.com/blog/IE10AndIE11AndWindows81AndDoPostBack.aspx
大家一齊探討、學習和研究,謝謝!
MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP, MCPD,
MCT, Microsoft Community Star(TW & HK),
Microsoft MVP for VB.NET since 2003
My MSMVP Blog
請記得將對您有幫助的回覆標示為解答以幫助其他尋找解答及參與社群討論的朋友們。
Please remember to clickMark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.- 已编辑 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月12日 9:44
- 已建议为答案 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月13日 7:58
- 已标记为答案 Pengzhen Song 2014年11月20日 15:48
-
是的,我同意 KenLin的看法,你可以安装一下.net 4.5 在你的 web server(windows server 08 r2) ,然后注册一下:
aspnet_regiis [options]
详细信息你可以参考这里:
http://msdn.microsoft.com/en-us/library/vstudio/k6h9cz8h(v=vs.100).aspx
#install .net
http://www.visualstudio.com/downloads/download-visual-studio-vs#net-45
- 已编辑 Mortene Nielsen 2014年11月13日 2:45
- 已建议为答案 Ken Lin, MSMVP for .NET (2003-2017), rMVP 2014年11月13日 7:58
- 已标记为答案 Pengzhen Song 2014年11月20日 15:48