SharePoint page titles when using Ajax may turn to square icons. This is the rendering of the title tag in the masterpage, or where the page title is specified. A normal SharePoint masterpage specifies the title on 3 lines, the first line is for the opening tag, second line contains the content place holder for page title, and the 3rd line in the masterpage’s title is for the closing title tag. You get something that looks like this:
<asp:ContentPlaceHolder id=PlaceHolderPageTitle runat=”server”/>
|Rendered HTML after Ajax panel update:|
Basically, the tabs indenting “Home” are rendered as nothing in IE7 Page Title, but in the tab title, they are rendered as 3 little squares.
Here’s the code fix:
|BlueBand.master (or Default.master):|
|<title id=”onetidTitle”><asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/></title>|
Having ANY tabs in your source code will render nothing for your page title. You MAY use spaces, but NOT formatting tabs.
4 thoughts on “Page Titles disappear after Ajax event”
Thanks! It Worked for us 🙂
very helpful, thank you!
I was having the exact same issue but instead of squares I was just getting blank title. After couple of days researching this worked perfectly! I still think it is silly that this happens but oh well…
Thanks a ton. You are time saver