Control Entry Point

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

Guest

Hi Everyone,

I am new to Server control development and I am wondering how do I define
the entry point for a server control? In a regular page you define Page_Load
as an entry point and in a windows application using C# you define the entry
point as void Main(){}. But in a Server control I think it is seperate then
writing the entry point as static void Main(){}
 
There is no real entry point in a custom control. ASP.NET is event driven,
so most of the code written reacts to events such as button clicks, and well
defined events like Init, Load, etc. You can handle the Load event just like
the page can, though, in your control.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top