Creating an Ordered Ajax ListControl in C# with Gaia

by Jan Blomquist 2. February 2009 15:49
In this tutorial we shall demonstrate how easy it is to create a reusable Ordered ListControl in Gaia Ajax. We will also use generics so that it applies to all ListControls like ListBox, DropDownList, CheckBoxList, RadioButtonList, etc. And because Gaia Ajax is a server side Ajax framework we're going to write the control in C#. The control can be used from any .NET managed language. As one of our users pointed out: Gaia is the "Chuck Norris of Ajax Frameworks for ASP.NET" Cool


First off, let's declare our OrderedListControl
public class OrderedListControl<T> : Control 
where T: System.Web.UI.WebControls.ListControl, new() {}

More...