Categories

Linq NullReferenceException on foreign key

I used Linq first time in my life this week – wow! It creates some trouble for my brain to write lambda expressions but I am getting the hang of it.

I noticed one odd thing so far. Using Linq to SQL to map to a table with a nullable foreign key column gives you a [...]

SharePoint and large lists

Probably you already know or maybe you have a notion of that working with large lists in SharePoint cannot be fast. BUT – it depends.

I have read the Microsoft whitepaper on working with large lists some time ago. But I was not fully aware of what this means. Ok, using GetItemById is slow – but [...]

Wspbuilder cannot resolve assembly

When building a WSP solution with wspbuilder to deploy the Telerik RadEditor I got the error message below.

Unable to resolve assembly ‘System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′, please use DLLReferencePath to point to the directory where this DLL is located.

The package is built correctly but the message is somewhat messy. I had a similar error [...]

Do not trust your ASP.NET code

A lot of news group entries describe how to solve CAS policy issues: Set the trust level to full in web.config.

This seems like a quick solution but is rather a quick and dirty work-around.

But what can you do if you want to be a little bit more ambitious?

I use the following methods – depending on [...]

Using the RadEditor as InputFormTextBox

If you want to replace the SharePoint InputFormTextBox on a custom page or control with the Telerik RadEditor you will the MOSS version of it. The following lines of code will do (this is for version 5.2.2 build 826.20):

 

<%@ Register TagPrefix="telerik" Namespace="Telerik.SharePoint"     Assembly="RadEditorSharePoint, Version=5.2.2.0, Culture=neutral,     PublicKeyToken=1f131a624888eeed" %> [...]