Understanding Page Inheritance in ASP.NET 2.0
Posted by: Rick Strahls WebLog,
on 12 Sep 2005 |
View original | Bookmarked: 0 time(s)
In ASP.NET 1.x the primary code model is based on CodeBehind, which uses inheritance and code generation to manage the code that you as the developer work with. In V1 you create a base class into which the VS.NET Editor generates control definitions from the HTML markup – each control gets an instance field on the form and any explicit event hookups are stuck into the InitalizeComponent section of the page. The ASP.NET engine then generates a class from the HTML markup and inherit from your...