Page Title disappears after Ajax Post back
The Problem:
SharePoint page titles disappears when Ajax postback, title turn to square icons or empty space instead of page title.
We are having custom form and are using ajax to save the postback but when page postback asysnc the page title turns to square.
SharePoint page titles disappears when Ajax postback, title turn to square icons or empty space instead of page title.
We are having custom form and are using ajax to save the postback but when page postback asysnc the page title turns to square.
We have update panel as well in the webpart
Solution :
This was the line in master page after master page design:
<title id=”onetidTitle”>
<asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/>
</title>
After figuring out i found that if i removed the space between the html tag then problem get resolved and title appears as it required.
The correct line of code is as follows :
<title id=”onetidTitle”><asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/></title>
Solution :
This was the line in master page after master page design:
<title id=”onetidTitle”>
<asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/>
</title>
After figuring out i found that if i removed the space between the html tag then problem get resolved and title appears as it required.
The correct line of code is as follows :
<title id=”onetidTitle”><asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/></title>
No comments:
Post a Comment