On many of my aspx pages, I have numerous composite controls grouped into update panels. Everything functions well except, on occasion, buttons will seem to "loose touch" with their associated handler. I "addhandlers" to my composite controls at the createchildcontrols
stage. The problem seems to occur if I post back a panel a few times and then go to click a button in a different panel. I wonder if I am adding my handlers at the right time and/or if I need to re-register them each time a panel posts back. Any advice
or link would be appreciated. Thanks.
shois
Member
15 Points
3 Posts
Addhandler timing /Composite Control
May 27, 2006 06:10 PM|LINK
On many of my aspx pages, I have numerous composite controls grouped into update panels. Everything functions well except, on occasion, buttons will seem to "loose touch" with their associated handler. I "addhandlers" to my composite controls at the createchildcontrols stage. The problem seems to occur if I post back a panel a few times and then go to click a button in a different panel. I wonder if I am adding my handlers at the right time and/or if I need to re-register them each time a panel posts back. Any advice or link would be appreciated. Thanks.