Page::Title Property
.NET Framework (current version)
Gets or sets the title for the page.
Assembly: System.Web (in System.Web.dll)
public: [BindableAttribute(true)] property String^ Title { String^ get(); void set(String^ value); }
| Exception | Condition |
|---|---|
| InvalidOperationException | The Title property requires a header control on the page. |
Use the Title property to set the page title in the HTML header sent to the requesting browser.
Note |
|---|
The page must contain a head element that has the attribute runat="server", otherwise the title will not render. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
