SharePoint 2010 - Incorrect layout of standard controls to upgrade
The problem
After the upgrade of a SharePoint application from 2007 to 2010, some default SharePoint Controls not displayed correctly. As an example, the PeoplePicker Control :
As can be seen clearly on the one hand does not the font is missing and also the frame. A look at the IE Developer Toolbar or the source of the generated HTML code reveals that the default SharePoint CSS class forms.css is not referenced:
The solution
In SharePoint 2010, the forms.css involved appear explicitly in your own page layouts. In my case I have to the Default Master Page made:
< SharePoint : name CssRegistration ID = "form style sheet registration" = "forms.css" runat = "server" />
The CSSRegistration Control SharePoint gets the language-specific CSS file from the layouts folder automatically:
The result
A correct layout :
0 comments:
Post a Comment