Rename Tab Problem in latest version

May 21, 2008 at 8:44 PM
In the new version, using the new pageservice and all, when you rename a page tab and click save, the name doesn't change until you click on a different page tab.
Anyone know how to resolve this ?

May 27, 2008 at 1:52 PM
Merlinr,
If you add a callback in the Myframework.js to the function RenamePage it will refresh it.

so now the funtion Rename Page will look like this:

function

RenamePage(pageId, newLabel)

 

{

 

var newPageName = document.getElementById(newLabel).value;

 

PageService.RenamePage(pageId, newPageName, OnRenamePageComplete);

}

then add the following function

 

function

OnRenamePageComplete(arg)

 

{

__doPostBack(

'UpdatePanelTabAndLayout','');

 

}