Setting the Page Title in ASP NET from Server Code

Here is a quick n easy way to set the HTML Page Title from the server side, that most developers don’t know yet.

VBNET:

Me.Header.Title = "Title Here"

C#:

this.Header.Title = "Title Here";
Advertisements