zoukankan      html  css  js  c++  java
  • ClientScript遇到UpdatePanel

    代码:
    ScriptManager.RegisterClientScriptBlock(UpdatePanel1, typeof(UpdatePanel), "test", "alert('test');", true);
    解释:
                 RegisterClientScriptBlock是 ScriptManager的一个静态方法
    参数:
              control (Control) :这个参数是注册脚本块的控件.如果你是在updatepanel中注册时,即updatepanel (应该写updatepanel的ID).
              type (Type)         :这个参数是注册脚本块控件的类型,即updatepanel的类型。
              key (String)         :这个参数是脚本酷块的惟一标识(关键字)
              script (String)      :这个参数是要注册的脚本字符串.
              addScriptTags (Boolean) :这个参数表示是否要在您的字符串两边使用“<script>”和“</script>”包围起来.

  • 相关阅读:
    让本地仓库和远程仓库关联
    指定本地仓库与github上的test项目相连
    Git 指令
    DOS命令+++GITHUP用法
    xml
    渲染数据的方法
    php
    css3的过渡、动画、2D、3D效果
    渲染数据
    ajax
  • 原文地址:https://www.cnblogs.com/mmmhhhlll/p/1602146.html
Copyright © 2011-2022 走看看