July 8, 2012

Apply Custom CSS in MOSS 2007 through aspx pages

In Moss 2007, sometimes we want to apply CSS through the aspx pages. Instead of including the complete css file, to write only few css we can use the PlaceHolderAdditionalPageHead content placeholder to include the custom css.

For example, the below code can be used.

<asp:Content id="Content11" runat="server" contentplaceholderid="PlaceHolderAdditionalPageHead">
    <link rel="stylesheet" type="text/css" href="/_LAYOUTS/1033/STYLES/CustomCSSFileName.CSS">
</asp:Content>

2 comments:

  1. Malkeet,

    I have a question, can we retrieve the User atrributes on sign on (Active directory values) using a webpart and using a submit button can we post values to a asp.net application outside sharepoint, you can reply me at neelbh@yahoo.com

    Thank you
    Bhagavan

    ReplyDelete
    Replies
    1. Hi Bhagvan,
      Yes, we can fetch the active directory values of the signed on user. After fetching values in webpart, you can send the values using "querystring" to another asp.net application.

      Delete

Error installing .Net Framework 3.5 in Sql Server 2012

During installation of Sql Server 2012 on Windows server 2012 or addition of roles and features for SharePoint 2013, the setup wizard will...