Called during page initialization to create a collection of content (from content controls) that is handed to a master page, if the current page or master page refers to a master page.
Syntax
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
protected
void AddContentTemplate (
string templateName,
ITemplate template)
Parameters
- templateName
-
The name of the content template to add.
- template
-
The content template
Remarks
Requirements
Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0