Search code examples
ajaxsharepointmoss

Sharepoint, ajax and page title


I have strange problem with sharepoint and ajax functionality. We have an UpdatePanel placed inside webpart. When partial postback occurs, page title gets missing.

We have found that temporary partial solution is to write title element into one line and not use any spaces or controls inside it..not even a literal control.

But we need some way to provide sommon title for all pages, so title would look like this: My default title - Current page title

Any ideas how to solve this?


Solution

  • I don't have a reference to the newsgroup post, but this is a known problem with publishing pages, as drax mentioned. The workaround I have used in the past is to hard code the title on the page - the metadata title being lost is part of the bug.

    When hardcoding wasn't possible, I have used javascript to change the page title: document.title = "title fixup here";

    Supposedly microsoft plans to fix this problem in the next sharepoint release.