User Control's Page Init Event Not Firing After Another User Control Using
Posted
by Murat
on Stack Overflow
See other posts from Stack Overflow
or by Murat
Published on 2010-06-14T13:29:31Z
Indexed on
2010/06/14
13:32 UTC
Read the original article
Hit count: 314
I have an user control. I add dynamicly control to this control on its Page Init. This user control's parent Page's every postback, its page init works fine. After I added an different user control to Page. In Second User control, user select photos and uploads them with asyncfileupload control(AJAX). And I save all of them with a button at the end of Page.
In EveryPostBack Parent Page Load event works. If I dont select any photo from Second User Control, First User Control's Page Init event works fine when I click Save Button. But if I select a photo, first User Control dont work.
What is the problem?
© Stack Overflow or respective owner