I've searched a lot for "How to change the title programatically" and only got this result which doesn't work, at least in Razor scripts
DotNetNuke.Framework.CDefault tp = (DotNetNuke.Framework.CDefault)this.Page;
tp.Title = "New Title Here";
This doesn't work in razor host scripts, is there any other solutions to change the page title from Razor host script ?