.NET


My New Book: SharePoint 2013 WCM Advanced Cookbook [Packt]

My new book, SharePoint 2013 WCM Advanced Cookbook, was published yesterday. It’s available on Amazon.  You can also download a sample chapter from the Packt website. Amazon: http://tinyurl.com/lutktay Sample Chapter: http://tinyurl.com/mqup5lb What you will learn from this book Manage SharePoint branding with device channels and design packages Customize the user experience with delegate controls Modify user input with InfoPath […]

[SharePoint 2013] Adding Links to the Suite Bar (Newsfeed, SkyDrive, Sites) By Overriding the SuiteLinksDelegate Delegate Control

SharePoint 2013 features a new set of links called the Suite Bar Links that are displayed in the top right corner of every SharePoint page. By default these links include “Newsfeed”, “SkyDrive”, and “Sites”. When first seeing this links my first thought was “how do I change them?”. In exploring the master page, we can […]

[PowerShell] Write a Custom PowerShell Cmdlet in C#

Particularly with SharePoint 2010, I have become a huge fan of Microsoft PowerShell. In addition to writing complex PowerShell scripts (.ps1 files), I have found it very useful to write my own C#-based PowerShell Cmdlets to use in my scripts. This basic tutorial illustrates how to create a basic PowerShell Cmdlet with a couple of […]

[ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types

I tend to use LINQ for just about everything I can. Many times this involves populating ASP.NET GridViews from code with anonymous types from LINQ. For example: The issue that I came across is that when I need to access data from that query during an OnRowDataBound event. When trying to access the item using […]

[ASP.NET] Multiple Command (Select, Delete, etc.) Fields in a GridView

I recently had the requirement to provide multiple select-type commands on an ASP.NET GridView that each resulted in a different action. Using an only provides you with the ability to have a single select, single delete, and single edit command. You cannot have multiples of each. I did, however, discover the . Using the you […]

[SharePoint 2010] FIMSynchronizationService Errors After SP1 Install – Microsoft SharePoint is not supported with version 4.0.30319.235 of the Microsoft .Net Runtime

Update 2011-07-13: This issue was fixed in the re-released version of the June 2011 Cumulative Update. If you have installed the initial release of the June 2011 Cumulative Update, it is recommended to install the re-released version to ensure the issues in the first release are resolved. After installing Service Pack 1 for SharePoint 2010, […]

[SharePoint 2010] Programmatically Add JavaScript, Meta Tags, and CSS Styles to the Header of Every Page

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages. For instance, you could add the jQuery library to the head of every page. If adding tags to the page <head> section is the […]