|
|
|
Internet Explorer รันโปรแกรม กด select ,pop up เปิดลิ้งอีกหน้าไม่ได้ แต่ chrom เปิดได้ |
|
|
|
|
|
|
|
มี Code ให้ดูไหม๊ครับ ว่ามีปัญหาตรงไหน
|
|
|
|
|
Date :
2014-02-21 10:17:23 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (C#)
//put these in global.asax.cs
void Application_PostMapRequestHandler(object sender, EventArgs e)
{
var app = (HttpApplication)sender;
var handler = (IHttpHandler)app.Context.Handler;
Page page = handler as Page;
if (page != null)
{
page.Load += Page_LoadFix;
}
}
private void Page_LoadFix(object sender, EventArgs e)
{
var page = (Page)HttpContext.Current.Handler;
var smg = ScriptManager.GetCurrent(page);
if (smg != null && (page.IsPostBack == false || smg.IsInAsyncPostBack == false))
{
ScriptManager.RegisterOnSubmitStatement(page, page.GetType(), "IE10ImgFloatFix", "IE10ImgFloatFix();");
ScriptManager.RegisterStartupScript(page, page.GetType(), "IE10ImgFloatFix_func", "function IE10ImgFloatFix() {try {var o = Sys.WebForms.PageRequestManager._instance;var s = o._additionalInput;s = s.replace(/(.y=\\d+)([.]\\d+)?/g, '$1');s = s.replace(/(.x=\\d+)([.]\\d+)?/g, '$1');o._additionalInput = s;} catch (ex){}}", true);
}
}
|
|
|
|
|
Date :
2014-02-21 11:05:10 |
By :
oami |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 01
|