Category Sharepoint

Content Editor Webpart code for hide quick lunch,recycle bin etc…..

<STYLE> .ms-quicklaunchheader { display: none } .ms-sbrow { display: none } span#ctl00_PlaceHolderGlobalNavigation_PlaceHolderGlobalNavigationSiteMap_GlobalNavigationSiteMap { display: none } .ms-recyclebin { display: none } .ms-navframe { display: none } .ms-quicklaunch { display:none; } .ms-pagetitleareaframe { display: none; } .ms-titleareaframe { display: none; } </STYLE> Advertisements

Create Simple Web Part for SharePoint 2007

To create Web Part for MOSS 2007 you can create new Class Library Project with C# or VB and you have to add “System.Web”, “Microsoft.SharePoint.dll” to the references of the project. After that you can create class and inherit a WebPart class from Microsoft.SharePoint. WebPartPages namespace which is in the “Microsoft.SharePoint.dll”.In this Web Part you […]

Using Custom ASP.NET Controls in a SharePoint Web Part

You also can add a custom controls “ascx” files which is allowing you to put your controls, html layout, css, javascripts and events handlers, so you can create your own control and you add whatever you want of ASP.NET controls and server side codes, but first you have to change trust level on the web.config […]

Using ASP.NET Controls in SharePoint Web Part

if you want to use ASP.NET controls or any of server side controls you can add it in the Controls property, which is a controls collection for the web part. To do that you can override CreateChildControl method and there you add any server side controls using Microsoft.SharePoint.WebPartPages; using System.Web.UI.WebControls; namespace MyWebPart { public class […]

Enable Server Side Code in SharePoint Pages

If you trying to writing server side code in a page in your SharePoint write you will get the error An error occurred during processing of {page filename}. Code-blocks are not allowed in this file. To enable writing server side codes in your MOSS website add the following bold line in the web.config for the […]

command line error while executing ssis package in sql server 2008

I am getting following error while exciting ssis package Executed as user: servernameSYSTEM. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Option “8.0;HDR=YES;” is not valid. The command line parameters are invalid. Solution: Extended Properties=”Excel 8.0;HDR=YES”, remove the quotes and make it look like […]

Sharepoint Services(WSS)

What is Windows SharePoint Services?   Understanding Windows SharePoint Services Windows SharePoint Services provide a secure, scalable, enterprise-level portal environment for team collaboration. Because SharePoint aggregates and organizes information in one place, users can find relevant information quickly and efficiently. Using the internet and regardless of their location, all team members have password-protected access to […]