I saw the light Silverlight Tip : How to set web page title. - Alexey Zakharov's Blog

Silverlight Tip : How to set web page title.

If you have more than one page in your silverlight application it would be great if you will change a web page title when you switch between them.

To do it you can use Silverlight DOM API.

   1: var document = HtmlPage.Document;
   2: document.SetProperty("title", "My title"); // title should be in lower case.
Published Sunday, November 23, 2008 1:14 PM by brainbox

Comments

# re: Silverlight Tip : How to set web page title.

Monday, November 24, 2008 11:26 AM by David Roh

Thanks for the tip - I'll use it.

The main issue; however, is how to create a mechanism that gets us back to the same page.

# re: Silverlight Tip : How to set web page title.

Wednesday, January 19, 2011 8:35 AM by Alexander Taschilin

Thanks for the tip, Alexey...

But I'm now stuck doing in order to change title of the HtmlPage after Frame.Navigate(). Unfortunately, it turns out nothing, including your advice.

Leave a Comment

(required) 
(required) 
(optional)
(required)