Archive for the ‘Pages’ Category

Actually I came up with a request to disable the scroll bar for the site welcome page which was using the custom master page and had a full screen slider. but there were no need to scroll bars on the first page.

Just to mention, I had created the page using SharePoint designer (Right click on master page > new from master page) because it had it’s own scripts and not specific SharePoint content ( you know it was a Welcome page ūüėČ ) for example the page had the ribbon because it was created by a master page. after I put the scripts I found that the SharePoint fake scroll bars is visible however the page didn’t need to scroll at all and scrollbars make the page obscene.

So here I found the solution written by Stephan and in my case to customize and summarize it:

  1. In your master page and body tag, remove scroll=”No”
  2. add the following CSS styles to the page. Either using a CSS file or add styles inside the page.
body #s4-workspace{
    overflow: inherit !important;

When you have your own custom master page in SharePoint 2010, maybe you’d come up with this issue when saving a simple wiki page in Site Pages or a Wiki library.

“you must specify a value for this required field”

new wiki page error
new wiki page error


I googled and found the reason is because of a missing folder which I had removed (better to say hided incorrectly). and it is this place holder:

<asp:ContentPlaceHolder id=‚ÄúPlaceHolderPageTitleInTitleArea‚ÄĚ runat=‚ÄĚserver‚ÄĚ></asp:ContentPlaceHolder>

What I had done was I had put this code inside an ASP Panel and set the visibility of the panle to hidden.
I found that I should do this with CSS like this.

<asp:Panel runat="server" CssClass="hidden" >
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />

I found these posts helpful :


Sometimes you copy the Page Layouts to another server or another web application. In these scenarios you may encounter some problems in cases that you want to modify the page in browser or SharePoint Designer. For example when you want to modify the page in browser you may encounter this problem ‚ÄúValue does not fall within the expected range‚ÄĚ. Or if you try to modify the page in the SharePoint Designer and you try to detach the Page from its Page Layout (To customize), the system gives you an error.

This is because the codes in the page are using the Page Layout with the old URL. So you should modify this URL in the page code.

You can do this by:

  1. Select the Page in SharePoint Designer and Export it (File > Export) to your hard drive.
  2. Open the exported file in an editor like Notepad.
  3. Search for ‚Äúmso:PublishingPageLayout‚ÄĚ. You will find that the URL inside this tag is invalid.
  4. So Change the URL and Import the file to the new server.

I found the solution in this blog and it was helpful to me. Thanks to ¥ong¥s .

Yesterday I was creating a simple gantt chart in a project task¬†list. The site master page was blueband,master. I found that you cann’t use gantt chart view in a site that uses a blueband as the master page. the gantt is bigger than the width of master page and it seems bad in the page .

Also I could not change my default master page. So the way I found to solve this problem was to directly change the master page of the view by using SharePoint Designer. I opened the list with SharePoint Designer, opened the gantt.aspx view, and with the use of Format menu and then Master Page Section, I changed the master page of this page.

I now however this page looks different from the other pages in the site , but I did not find any other way till now. This corrected the appearnce of the gantt chart.


Sometimes when you want to edit an aspx file ( for example a page layout ) within “_catalogs/masterpage” directory you may encounter this error :

The Master Page file “….” cannot be loaded .

I found that this masterpage is not published ! So after I checked it in and published the master page , I counld checked out and edit aspx files without any problem .

Today one of my clients said to me that he get an error when he want to fill out a new form in a form library. I searched and found and solved his problem . You may have seen the following error when you want to open a new Infopath form in a sharepoint form library :

Microsoft Internet Explorer

The document could not be created.
The required application may not be installed properly, or the template for this document library cannot be opened.

Please try the following:
1- check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and try creating a new document again.

2. If you have permission to modify this document library, go to General Settings for the library and configure a new template. 

you may also have seen at the left corner of the page that there is a javascript error, when you double click on it , it shows a message that say : Library not registered

To solve this issue ( To open the page correctly and to successfully open the infopath form ) I ran the Office Diagnostics on the client and it solved the problem.

So if you have office 2003, the way is :

Help –> detect and Repair –> check discard my customized settings and restore defualts.

if your office is 2007 :

Help –> Office Diagnostics


Office button –> Word/Excel Options –> Resources –> Diagnose