Blog Home  Home RSS 2.0 Atom 1.0 CDF  
CLYDE BARRETTO's BLOG - .NET etc. - Designer
Visual Studio/.NET/Smart Client/SharePoint
 
 Wednesday, October 28, 2009

I was trying to add some basic and custom web parts to a SharePoint web part page and realized that although I could scroll through all the web parts in the gallery, I could not find the “Add” button at the bottom of the page. In I could not see any of the usual buttons or links at the bottom of the page either.

What happened was that we had created a custom theme that would apply to all web pages in the site; in the process we had modified some CSS files with some additional styles. The styles also apply to the dialog page that comes up when you click “Add a Web Part”.  The specific style that caused the dialog not to show the buttons due to its width element is shown below. Please note the buttons are actually created but are not fully visible due to the style below.

#aspnetForm {margin:20px auto;width:960px;background-color:white;border:2px solid #435380;}

In my case, if you remove the WIDTH element the buttons show up properly. I talked to my SharePoint designer Phil Foss (http://philfoss.com ) who then modified the styles which then made the button visible again.

NOTE:The “Add Web Parts” page (webpartgallerypickerpage.aspx) is a page that exists in the layouts folder to which styles are applied as well.  You can find a link to the web part gallery page if you look at the source of the page that you are editing in your browser (Search for "Add a Web Part").

10/28/2009 4:07:41 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0]   Designer | MOSS 2007 | SharePoint  | 
 Sunday, October 18, 2009

The ‘IE (Internet Explorer) Developer Toolbar’ is a tool that allows web developers and designers to inspect elements on a web page i.e. the DOM model. For example, if you are a SharePoint designer\developer who wants to create\edit a theme, you can use this tool to click on screen areas\elements to figure out what image files in the theme actually correspond to screen areas\elements. The toolset shows you HTML object class names, id’s, link paths and a host of other information as well. This toolset is also great for debuggin stylesheet problems. Read more about the toolset at the URL below.

 

To download this toolset go to http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

 

Quick Start à Download and Install Toolset à Open a new instance of internet Explorer à Open a SharePoint site à From the top level IE menu Choose View->Explorer Bar -> IE Developer Toolbar. You should not see a high level summary of your site in the IE toolbar pane that is open at the bottom. In the pane below choose Find-> Select Element by Click, this is an easy way to point + click and identify individual HTML elements.

If you are using Mozilla's FireFox a better toolset is the Firebug available at http://getfirebug.com/

 

10/18/2009 9:59:52 PM (Eastern Standard Time, UTC-05:00)  #    Comments [18]   ASP.Net | Designer | Developer Productivity | MOSS 2007 | SharePoint  | 
 Saturday, October 17, 2009

It is possible that even though you think you have followed all the steps to create a new Page Layout, it is not available for selection in the Page Layout section of the ‘Create Page’ options.

Here are some reasons

  •  You may have forgotten to Check In your file or Publish it (using major version) in SharePoint Designer.
  •  You may have forgotten to Approve the layout. To do this follow these steps
    • Under Site Settings Select ‘Master pages and page layouts’ (under Galleries)
    • Check if you layout is listed here for Pending approval. If it is approve it. (Off course if you do not see your layout here you may have not saved it or checked it in, in the first place!!!
  • You may need to add your newly created Page Layout to the Preferred Page Layout section.
    • Under Site Settings Select ‘Page layouts and site templates’ (under Look and Feel)
    • Check out the Page Layouts section if the option ‘Pages in this site can only use the following layouts’ is selected then you do have to add your Page Layout to the available list (on the right hand side).

May answer the following questions.

  • Cannot use newly created SharePoint Page Layout
10/17/2009 12:24:05 AM (Eastern Standard Time, UTC-05:00)  #    Comments [1]   Designer | MOSS 2007 | SharePoint  | 
 Monday, August 14, 2006

If your .NET solution contains projects that contain custom/user controls for windows/web forms these controls are automatically loaded into the toolbox so that they can be utilized on your forms. In some cases when there are a large number of controls in your project the solution seems to compile slowly or the toolbox seems to take quite some time to load. If you are facing such issues turn off the AutoToolboxPopulate property on the ToolsàOptionsàWindows Forms DesigneràGeneral tab.

8/14/2006 9:56:08 PM (Eastern Standard Time, UTC-05:00)  #    Comments [17]   .NET 2.0 | ASP.Net | Compile | Custom Controls | Designer | Developer Productivity | Performance | Visual Basic \ VB.Net | Visual Studio 2005  | 
 Sunday, April 30, 2006
Boosting performance when using solutions that contain large Visual Basic projects in Visual Studio 2005
4/30/2006 11:08:59 PM (Eastern Standard Time, UTC-05:00)  #    Comments [8]   .NET 2.0 | ASP.Net | Compile | Designer | Developer Productivity | Performance | Smart Client | Visual Studio 2005 | Windows Forms  | 
Copyright © 2012 Clyde Barretto. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: