Posts about Dev

Making custom DataAnnotation attributes work with MVC client side validation

In a previous blog entry I showed you an easier approach to localized DataAnnotation attributes.

Handling JSON responses in jQuery plugins

I’ve been coding several jQuery plugins lately and most of my plugins use Ajax and JSON to handle data. Each plugin gets a specific JSON string returned that…

Reintroducing my compiler class

I created a class a couple of years ago which simplifies the CodeDom handling when you want to dynamically create objects in .NET. I got reminded of it when I…

How to create documentation using code comments

Use the regular XmlDoc tags to document your code; it’s usually enough to type /// in Visual Studio to get the default tags.

jQuery UI autocomplete: Uncaught TypeError: Cannot read property ‘element’ of undefined

I got that exception when I loaded some options through JSON (with ASP.NET MVC). It took a lot of digging before I finally found the cause. And it’s not what…

How to become a computer expert

Computer expert flowchart

HtmlHelper for enums in ASP.NET MVC3

Have you tried to get enums working with HtmlHelpers? It can be a hassle, and here is my solution for it. It requires that you tag each entry in the enum with…

REST:ify your delete links

I wrote an answer about it @ stackoverflow.com.

Simplified localization for DataAnnotations

Update

Reasons for a C# developer to learn VB.NET

I found the question above on Stack Overflow today, and it got really lovely answers.