zoukankan      html  css  js  c++  java
  • 在Master page 里 CompositeControl 的事件失效了

    最近在使用一个图片剪切的工具 WebImageMaker.它可以很好的工作在普通页面里面.

    它是当它在Master 页面里的时候发现 上传 按钮的事件失效了.

    原来是因为它在   CreateChildControls  的时候调用了 ClientID 结果生成的ClientID没有加上容器的部分.回发的时候就没有办法触发事件了.

    One Bug On WebImageMaker. When the control be used in master page. it can not work. you must move some code out of CreateChildControls life cycle, put these code to AddAttributesToRender method

    Code
  • 相关阅读:
    TOYS POJ
    口罩发放
    Qin Shi Huang's National Road System HDU
    次小生成树
    ACM Contest and Blackout UVA
    Strongly connected HDU
    tarjan
    Network HDU
    【洛谷 1351】联合权值
    【洛谷 3884】二叉树问题
  • 原文地址:https://www.cnblogs.com/lovebanyi/p/1344662.html
Copyright © 2011-2022 走看看