0

I am new to .Net trying to understand about different controls here. I know, custom control, an extension of existing control. User control, a complicated control constructed in .ascx file and can be used anywhere in the application. I couldn't the concept of createchildcontrol() and need of it. thanks !

dotnetrocks
  • 2,589
  • 12
  • 36
  • 55

1 Answers1

0

It plays the role in the lifecycle of a page request to ensure all controls generated dynamically/via code are in place for binding postback values and rendering out to the page. Also note from the MSDN page:

When you develop a composite or templated server control, you must override this method.

You can check this page for the full list of events, in order, on an ASPX request.

Mike Guthrie
  • 4,029
  • 2
  • 25
  • 48