Showing posts with label Page. Show all posts
Showing posts with label Page. Show all posts

Wednesday, August 13, 2008

Auto refresh sharepoint page...

You can add content editor web part and add the javascript to refresh after x seconds.
See comments to find out how to overcome the message "need to post data"
http://drewmace.blogspot.com/2008/02/auto-refresh-sharepoint-page.html

Monday, August 4, 2008

https:// in which case 7 needs to be 8 */

string goodUrl = Page.Request.Url.ToString();

int startCount = 7;

/* this is to rip-off http:// unless you are using https:// in which case 7 needs to be 8 */

int index = goodUrl.IndexOf("/",startCount,goodUrl.Length-(startCount+1));

goodUrl = goodUrl.Substring(0,index);

more

Sunday, August 3, 2008

publishing portal pages : "Value does not fall within the expected range"

Happens mostly when page is corrupted or have incorrect top level site URL. more