Too often we land in scenarios, where we require the flexibility to handle common logic in SharePoint that requires wiring a code behind for the SharePoint 2010 MasterPage, which is never a straightforward and easy step to perform.
In this article, let’s look at the steps to add a code-behind file to a SharePont 2010 MasterPage, using the SharePoint templates available in Visual Studio 2012 IDE.
7,827 total views, no views today
A very common requirement in SharePoint 2010 is to hide the Ribbon control when exposing the site for external users. It can be easily achieved by using the below code in the master page. Open the SharePoint site in SharePoint Designer and navigate to _catalogs/masterpage/v4.master. Since I am using the V4 master as the default for my site, I can include the below code to hide the ribbon control from being visible to external users who doesn’t possess the “AddAndCustomizePages, ManageLists” permission.
3,490 total views, no views today
1. What are the different ways to host workflows in .net?
Workflows can be hosted in any of the following applications and will require reference to the System.Activities DLL.
- Console Application
- Windows Forms Application
- Windows Services
- ASP.NET Application
- WCF Application
2. Name the different life-cycle events for a workflow?
2,954 total views, no views today