.NET

Using asynchronous WebService calls in Silverlight

Posted on

Last I was creating a silverlight application and I thought that showing how to do some asynchonous calls to a webservice could be interesting.   First of all an overview of the things that you need: A Silverlight application A website where the silverlight is shown and where a webservice is created.   You visual […]

C#

AjaxControlToolkit not working in UserControls.

Posted on

Today I was trying to implement an AutoCompleteExtender. It took me a lot of time until I figured out what the problem was. Actually the AutoCompleteExtender cannot work in a UserControl (.ascx). The only way to get the AutoCompleteExtender working is to use a service for getting the data or bring the functionality back to […]

Uncategorized

Blog back online

Posted on

Dear readers, You may have noticed that my blog was down for a while. This downtime was caused by a server problem. After a while I changed the platform behind the blog from “apache roller” to “wordpress”. Hopefully in future this problem can be avoided. Much reader pleasure, Greets, Cedric

C#

Regular expression for date

Posted on

I was looking for the perfect regex to validate a date. The examples I found on the internet where all not good enough. If you try validating 29/02/2010 it should give a fault but it didn’t so I created my own regex. The best regular expression I can think of right now is this: ^(((0?[1-9]|[12]\d|3[01])[\/](0?[13578]|1[02])[\/]((1[6-9]|[2-9]\d)?\d{2}|\d))|((0?[1-9]|[12]\d|30)[\/](0?[13456789]|1[012]) […]

LINQ

Using predicates with LINQ

Posted on

It’s already a long time ago I posted something new but now I have something interesting to share. I had the problem some time ago that I was using LINQ in an application and I needed to create a custom filter on a list. The problem I discovered with the creation of the filter was […]

SQL

Problem installing SQL Server 2008 on E Drive

Posted on

Recently I tried to install SQL Server 2008 on the E drive of my server. It went totally wrong when I tried to change the installation path to my E drive. The error “The INSTANCESSHAREDWOWDIR command line value was not specified. The value must be specified when …” entered the installation process when I changed […]

SharePoint 2010

Site column with external data

Posted on

What do to if you want to create a site column that refers to external data? As you can see in the image below i is not posible to create a site column of the type “external data”. Dispite you can not create a site column of the type “external data” there is a workaround […]