回发时如何设置JavaScript功能 [英] How to set javascript function when postback occured
本文介绍了回发时如何设置JavaScript功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在发生回发时设置javascript函数
How to set javascript function when postback occured
推荐答案
在每个成功事件发生后,使用
调用javascript函数showhide()
ScriptManager.RegisterStartupScript(this,this.GetType(),%#######%","ShowHide(``Panel1'');",true);
或
this.ClientScript.RegisterStartupScript(this.GetType(),%#######%","ShowHide(``Panel1'');",true);
如果有任何说明,请告诉我.
Call javascript function showhide() after each successful event occured using
ScriptManager.RegisterStartupScript(this,this.GetType(), "%#######%", "ShowHide(''Panel1'');",true);
OR
this.ClientScript.RegisterStartupScript(this.GetType(), "%#######%", "ShowHide(''Panel1'');",true);
if any clarification then tell me.
这篇关于回发时如何设置JavaScript功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文