I am working on WPF
application. I wanted run application in IE11
mode so I used
<meta http-equiv="X-UA-Compatible" content="IE=11" />
I made required css
and JavaScript
changes so everything works fine except
ScriptManager.RegisterStartupScript(this, this.GetType(), "pop" + this.ClientID, "jsFunction('parameter1','parameter2');", true);
I have this line in User Control
. When I called this code, jsFunction
doesn't get called.
I tried to call alert to test but it doesn't work as well.
ScriptManager.RegisterStartupScript(this, this.GetType(), "pop" + this.ClientID, "alert('test')", true);
If I run this using web browsers like Google Chrome/IE9/IE10/IE11 it works fine. It doesn't work in WPF web browser
.
If I change to
<meta http-equiv="X-UA-Compatible" content="IE=10" />
then it works fine but I can't go back because my other changes might break.
PS.
I can't modify machine keys because it is used by many users and we can't configure their computers.
Please suggest solution/alternative.