Creating a Gravatar ASP.NET Control

by David Kiff 14. February 2009 10:30

Introduction

This article provides an ASP.NET Gravatar control that allows you to add Gravatars to your .NET enabled sites easily.

If you are using a framework, such as Joomla for your website, there might already be a plug-in available (http://en.gravatar.com/site/implement). More...

Tags: ,

Gravatar | ASP.NET

Extending the GridView to sort Custom Entity Classes

by David Kiff 1. February 2007 03:32

This article aims to provide a way to extend the GridView control to enable it to sort your custom entities.

The custom entities I am discussing are ones like “Customer”, “Order” etc that you may have within your system.  With n-layer applications becoming more popular the use of custom entities is increasing.  Often users will bind an array of these entities to Microsoft’s GridView control and then struggle when it comes to enable sorting.  Unfortunately the GridView control will not automatically sort your custom entities out-of-the-box.

If you bind your array of entities to a GridView and select enable sorting, you will get the following error:
"The GridView ‚GridView1‚ fired event Sorting which wasn't handled." More...

Tags: ,

ASP.NET