User controls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I've built a login user control and placed it on an apsx page but when run
it does not fire a Page_Load event for the control. Any ideas why?

Jim
 
Is there this line in the InitializeComponent method of your UserControl ?
this.Load += new EventHandler (Page_Load) ;
 
No it wasn't I put it in and it worked fine, thanks. I thought it put things
like that in automatically?
 
Back
Top