Gets or sets the title for the page.
Namespace:
System.Web.UI
Assembly:
System.Web (in System.Web.dll)
Visual Basic (Declaration)
<BindableAttribute(True)> _
Public Property Title As String
Dim instance As Page
Dim value As String
value = instance.Title
instance.Title = value
[BindableAttribute(true)]
public string Title { get; set; }
[BindableAttribute(true)]
public:
property String^ Title {
String^ get ();
void set (String^ value);
}
public function get Title () : String
public function set Title (value : String)
<asp:Page Title="String" />
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 with the attribute runat="server", otherwise the title will not render.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0
Reference