troubleshooting Question

Setting Superscripts in the Page Title

Avatar of piyushdabomb
piyushdabomb asked on
.NET ProgrammingASP.NETVisual Basic.NET
7 Comments1 Solution344 ViewsLast Modified:

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.
Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros