System.Web.UI Namespace
Represents an .ascx file when called in an .aspx file.
Visibility |
Constructor |
Parameters |
public |
UserControl |
( )
|
|
User controls are contained in ASP.NET Web Forms pages and offer Web developers an easy way to encapsulate commonly used Web UI. They are instantiated and cached in ways similar to Page objects. Unlike pages, however, user controls cannot be called independently. They can only be called from the page or other user control that contains them.
Web Forms User Controls