>Thanks Bonnie. I think things are working out better for me now with state, but I'm still having a problem when I wireup events to dynamically-added users controls. They don't seem to ever fire until the page is posted back a second time. Is that also a problem you're familiar with?
Hi Brian, User control load events fire after the page load_event. The events fire like this: (I'm pretty sure)
User control page_init
Page_Init
Page_Load
UserControl_Load
If posting back, the event that fired the postback is executed.
Page_PreRender
UserControl_PreRender
If you have to execute code that needs your user controls loaded, consider the PreRender event.
hth,
~dab
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only