Author Archives: Peter Gerritsen

InfoPath Form Template stays in “installing” state

0 comments

When I was testing to deploy a solution containing some form templates I got an error. Not very strange, because I was testing it. The main downside though was one of the templates remained in the installing state. Apparently the easiest way to remove this template is by using some custom code, in this case I just used [...]

Tagged , | Leave a comment

Provisioning a Document Set

6 comments

In this post I’ll show you how to create a project in Visual Studio 2010 with the new SharePoint project and item templates to provision a Document Set from a feature. DISCLAIMER: The examples are build on and tested against a Beta 1 build of SharePoint 2010 and a Beta 1 build of Visual Studio 2010, so [...]

Tagged , | 6 Comments

Coding against a Document Set

3 comments

I’ve just had a 5 day training on development for SharePoint 2010. We’ve seen some cool stuff, were able to do some Hands on Labs and talk to other SharePoint experts about the new stuff that is coming up. One of the best things though about this training was the ability to try some stuff [...]

Tagged , , | 3 Comments

DateTimeField vs. FieldValue in a publishing page

0 comments

In one of our projects we needed to show the Modified date and time value in publishing page. Not a big deal you would think. The only issue we had when using a FieldValue control is that the time that would be displayed was 1 or 2 hours later than the actual value. After I changed this [...]

Tagged | Leave a comment

BadImageFormatException when updating a Dynamics CRM Plug-in

4 comments

Today I was working on a Dynamics CRM 4.0 Plug-in we’ve developed in the past and I needed to update the plug-in on our CRM server. When I loaded the assembly in the Plug-in Registration tool I got the following exception: Unhandled Exception: System.BadImageFormatException: Could not load file or assembly ‘Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one [...]

Tagged | 4 Comments

Silverlight: Multiple animations on one property through Transforms

0 comments

When you create two or more animations that work on the same property of an object, Silverlight will only use the last of the defined animations. By using transforms you’re able to achieve the same effect anyway. For instance, I’ve got a rectangle that slides up and down by using an animation that works on the Canvas.Top property: [...]

Tagged | Leave a comment

Displaying calendar items in an ItemStyle

0 comments

We frequently get the question to display the next x upcoming events in a rollup webpart. A content query web part is very suitable for this, but you will needa custom ItemStyle. Below you will find the xsl to display events in the following format: The custom itemstyle checks for the difference between all day [...]

Tagged , | Leave a comment

What ASP.Net developers should know about jQuery

1 comments

Dave Ward has published a very good article about jQuery for ASP.Net developers on the MIX site. I found the part about unobtrusive JavaScript particularly useful. With the recent improvements in ASP.Net for JSON and the ease of jQuery, all ASP.Net developers should embrace JavaScript for creating better user interfaces. You can find the article here: http://visitmix.com/Opinions/What-ASPNET-Developers-Should-Know-About-jQuery Bookmark [...]

Tagged , | 1 Comment

Enhancements to Office client integration with Forms Based Authentication on SharePoint

0 comments

Recently Steve Peschka of the SharePoint Team blogged about improvements in Office client integration when you’re using Forms Based Authentication. After installing an update for the Office Clients you are now prompted with a login box when you edit an Office document on a SharePoint site that uses FBA: When you have a customized login page this [...]

Tagged , | Leave a comment

Useful SharePoint classes

0 comments

I just found out that the object model includes some very useful classes to speed up your coding efforts. SPUtilty Contains methods for redirecting users to the error page, access denied page or a custom url. You can get Full name and email adres of a user by passing in the logginname, send an email from the web [...]

Tagged | Leave a comment