Help: Dynamically change ASP.NET page title
ASP.NET
3
Posts
2
Posters
0
Views
1
Watching
-
When I use java script in ASP, I can change web page’s title via document.title. How can I do it if I use ASP.NET and I want do it in code behind? Is there something similar to document.title in .NET framework?:confused:
-
I ran across this a while ago. In your code behind do this. public string MyPageTitle; this.MyPageTitle = "This is the best page"; Now on the client try this <%= MyPageTitle %> Will