override page PreInit inside Custom server control
I have custom server control contains templatefield when an out button clicked the field disappear , when can I rebind the control (inside its cl开发者_C百科ass) supposed that Control.Page.OnInit+=new EventHandler(rebind()) doesn't do any things ?
just rebind the control OnLoad() will solve the problem.
精彩评论