RE: Usercontrol Page_Load not firing.
- From: Sosh <sosh@xxxxxxxxxxxxx>
- Date: Thu, 9 Jun 2005 18:29:11 +0100
Yes:
private void InitializeComponent()
{
this.Load += new System.EventHandler
(this.Page_Load);
}
I don't use the designer though - seems more trouble than it's worth to
me.
> Is the Event wired up?
>
> Go to designer of the ascx, in the property pane select the control, click
> the actions tab (lightning thumb) and see if Load has a method defined.
>
> Good luck!
>
> Jason Lind
>
> "Sosh" wrote:
>
> > Hi,
> >
> > Could anybody suggest a reason why the Page_Load method is not happening
> > in a dynamically loaded user control? (All of the content from the ascx
> > is being displayed though).
> >
> > Thanks
> >
>
.
- References:
- Usercontrol Page_Load not firing.
- From: Sosh
- RE: Usercontrol Page_Load not firing.
- From: Jason L Lind
- Usercontrol Page_Load not firing.
- Prev by Date: RE: How to laod this file?
- Next by Date: RE: writing logs to a web page
- Previous by thread: RE: Usercontrol Page_Load not firing.
- Next by thread: On-Site Training
- Index(es):
Relevant Pages
|