Clientscript.registerstartupscript无法使用chrome [英] Clientscript.registerstartupscript is not working in chrome

查看:392
本文介绍了Clientscript.registerstartupscript无法使用chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ClientScript.RegisterStartupScript(this.GetType(),Upload,sescript.ToString(),false);



此行正常工作将IE和Mozilefirefox ,不是在铬工作



任何人都可以帮我解决这个问题



什么我试过了:



ClientScript.RegisterStartupScript(this.GetType(),Upload,sescript.ToString(),false);

解决方案

试试这个:



 ClientScript.RegisterStartupScript( this  .GetType(), 上传  sescript.ToString(); true ) ; 


ClientScript.RegisterStartupScript(this.GetType(), "Upload", sescript.ToString(),false);

This lines are working will IE and Mozilefirefox, not working in chrome

can any one help me how to resolve this

What I have tried:

ClientScript.RegisterStartupScript(this.GetType(), "Upload", sescript.ToString(),false);

解决方案

Try this:

ClientScript.RegisterStartupScript(this.GetType(), "Upload", "sescript.ToString();", true);


这篇关于Clientscript.registerstartupscript无法使用chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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