Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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.
Avatar of abel
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers