F
foldface
Hi
If I add a UserControl to a placeholder on a page during that pages PreRender
stage and press a button on that UserControl will the postback for that button
get processed?
I would have thought yes because on adding the control I would have
thought that the OnInit, IPostBackDataHandler, etc calls would then be
applied purely to that calendar, however it doesn't seem to be happening
I'm getting around this at the moment by adding the UserControl to
the placeholder in the OnInit stage and if it shouldn't be there I'm
removing it in the PreRender stage
Thanks for any help
F
If I add a UserControl to a placeholder on a page during that pages PreRender
stage and press a button on that UserControl will the postback for that button
get processed?
I would have thought yes because on adding the control I would have
thought that the OnInit, IPostBackDataHandler, etc calls would then be
applied purely to that calendar, however it doesn't seem to be happening
I'm getting around this at the moment by adding the UserControl to
the placeholder in the OnInit stage and if it shouldn't be there I'm
removing it in the PreRender stage
Thanks for any help
F