开发者

Page.RegisterClientScriptBlock not working in FF

I have this script in the .cs file and it is not working in Firefox.

Page.RegisterClientScriptBlock(
    "Excel",开发者_运维知识库
    "<script language='javascript'>window.open('" + strFile + "','_blank', 'height=700, resizable=1, menubar=yes',false)</script>"
);


try the following:

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Exel", 
       "FunctionName('" + paramter1Name + "','" + parameter2Name + "');", true);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜