This series of articles is about ASP.NET. They are from my previous years, legacy notes on OneNote. Reviewing the concepts may be helpful even for our current programming because they have a lot of similar features, such as Angular, React, and these modern "laguanges".

A. Introduction

This article will be an ASP.NET User Control Summary. I will just follow the exiting note without editing. It is quite informative.

B. ASP.NET User/Custom Controls

C. User Controls

A user control consists of a user interface page (with the extension .ascx) and the code-behind code. A user control is consumed by a .aspx file or another user control and must be included in the same project with its client. User interface rendering is done automatically using the .ascx page. A user control can contain any number of other user controls or custom Web controls.

D. Custom Controls

Custom Web controls can be shipped as compiled assemblies. User interface rendering must be done manually through code. Custom Web controls inherit from system.web.UI.Webcontrols (or control) for their user interface, and then extend the functionality of their parent.