views:

648

answers:

2

I am using asp.net 2.0 I know can set the pages title via the code behind. But is it possible to set the page title using Theme, skin or css?

I need to display a different title depending on the theme selected.

+1  A: 

By inserting a Literal control in the Head-element of the page you should be able to apply a theme to it and thereby set its Text property.

If that doesn't work you can always check the Page.Theme property and set the pages title accordingly.

Rune Grimstad
Literal can not be themed.
fresh
I was afraid of that. Checking the Page.Theme and changing the title should work.
Rune Grimstad
A: 

Not via CSS

scunliffe