zc_bt.Click+=new EventHandler(btn_clk);

解决方案 »

  1.   

    在Render里注册事件太迟了,读一下一些跟事件有关的基本常识Page Events: Order and PostBack
    http://authors.aspalliance.com/PaulWilson/Articles/?id=6相关的信息在此:"...
    The page's OnPreRender method is executed next, which is typically the last chance to affect the page and its controls before it is rendered to the client's browser. You can also create dynamic controls in this method, and all the control's methods will be executed to catch up, including ViewState, but the earlier private methods will not receive another pass, meaning no posted values are restored and no events. This is a good place to catch a PostBack without an event due to the bug noted in IE. 
    ...."