ewan
-
10/12/2010 6:44:51 AM
Unable to set page title with CurrentTitle
Hi,
I am attempting to dynamically set meta tags and page title from a web part, no problem setting the meta description and keywords but cannot set the title:
CMSContext.CurrentDescription = "Test" ' This works OK CMSContext.CurrentKeyWords = "Test" ' This works OK CMSContext.CurrentTitle = "Test" ' This does not work
I have tried this in Page_Load and Page_Prerender and tried various settings in the page properties for title (turning inheritance on and off, title blank and non-blank).
Any suggestions?
Thanks, Ewan.
|