zoukankan      html  css  js  c++  java
  • UpdatePanel中的updatemode和childastriggers的设置

    updatemode有两个可选项: always/conditional
    当updatepanel外的控件和updatepanel trigger集合postback属性设定的控件(包括updatepanel内的控件)产生一个postback的时候,不管updatepanel的updatemode属性值为什么样的情况,
    updatepanel 都会被update.
    所以,updatepanel的updatemode属性,是针对updatepanel内所包含的控件(排除trigger集合内postback属性值控件)
    和updatepanel外(被updatepanel trigger集合asyncpsot属性值控件) 有效。
    updatemode为always时,updatepanel内所包含的控件(排除trigger集合内postback属性值控件)和和updatepanel外(被updatepanel trigger集合asyncpsot属性值控件),产生一个提交动作的
    时候,updatepanel就会被更新。
    updatemode为conditional时, childrenastriggers为true(默认值)时,updatepanel内所包含的控件(排除trigger集合内postback属性值控件)和和updatepanel外(被updatepanel trigger集合asyncpsot属性值控件),产生一个提交动作的
    时候,updatepanel就会被更新。
    updatemode为conditional时, childrenastriggers为false时,updatepanel内所包含的控件(排除trigger集合内postback属性值控件),产生一个提交动作的
    时候,updatepanel就不会被更新。
    updatemode为conditional时, childrenastriggers为false时,updatepanel外(被updatepanel trigger集合asyncpsot属性值控件),产生一个提交动作的
    时候,updatepanel就会被更新。
    childrenastriggers时针对updatepanel内所包含的控件(排除trigger集合内postback属性值控件)有效。

    本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/ivan_ren/archive/2008/12/01/3419659.aspx

  • 相关阅读:
    selenium操控浏览器
    DOM
    bug记录
    log日志
    linux 搭建 telnet + tftp
    linux 搭建 MeepoPS+Socket
    php常见面试题(2)
    php常见面试题(1)
    laravel 5 支付宝支付教程
    计算机进位制原理
  • 原文地址:https://www.cnblogs.com/twilight/p/1538048.html
Copyright © 2011-2022 走看看