Author Archives: Peter Gerritsen

BadImageFormatException when updating a Dynamics CRM Plug-in

3 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 | 3 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

Building an AJAX web part with jQuery (Part 3)

1 comments
In part 1 of this series I explained a bit about the context and goal of creating an AJAX web part without using ASP.Net AJAX. I also showed the steps necessary for creating services that return data in the JSON format. In part 2 I showed you how to call these services from JavaScript and render the HTML for the [...]
Tagged , , , , | 1 Comment

Building an AJAX web part with jQuery (Part 2)

1 comments
In part 1 of this series I explained a bit about the context and goal of creating an AJAX web part without using ASP.Net AJAX. I also showed the steps necessary for creating services that return data in the JSON format. In this post I’ll show you how to call these services from JavaScript and insert the data in [...]
Tagged , , , | 1 Comment

Building an AJAX web part with jQuery (Part 1)

3 comments
In this series of posts I will describe how I build a web part full of AJAX functionality using jQuery and some plugins for jQuery. Why? ASP.Net AJAX is quite hard to implement using only code. Besides that, having multiple updatepanels and multiple triggers outside of these updatepanels, can complicate stuff very quickly. So I decided to see [...]
Tagged , , , | 3 Comments

jQuery performance optimization tips

1 comments
Sometimes all the cool effects and functionality you’ve build on top of jQuery turn out to be a bit sluggish. Here are a few tips to optimize performance. 1) Use jQuery 1.3+. This one utilizes the new Sizzle selector engine which is much faster then the selector engine in the jQuery versions before that. 2) Make your [...]
Tagged | 1 Comment