I'm trying to dynamically set the page title in my Page_Load procedure using the following line of code:
Page.Header.Title = "O² Design Center"
This should render to O^2 Design Center (The 2 should be superscripted). I noticed that when the page loads the first time, it successfully shows the 2 being superscripted, but when when the page refreshes, I get "O² Design Center" without the 2 being superscripted (i.e. You can see the ampersand, hash, 1, 7, 8, and the semicolon)
Any idea why after a page refresh, the 2 doesn't stay superscripted?
Its wierd. Let me know your thoughts. Thanks.
In your HTML code, just use this format, this should take care of it.
Open in new window