- Online Barcode Generator
- How To
- Buy Now
When using Kettic ListView UI control for ASP.NET AJAX project, sometimes you might want to apply a certain sorting to arrange your listview items in a way that is easier to locate and identify. Using Kettic ListView control, ASP.NET wed developers can achieve different types of item sorting with simple programming.
Apart from this guide for listview item sorting, we have also provided you with several other user manuals for listview. Please view the list below to see if it fulfills your requirements:
How to Apply Sorting in ListView
After the introduction above, now you might already have a basic idea of the sorting capability for Kettic ListView control. In this section, we will show you how to apply item sorting in listview along with detailed aspx codes and Visual C# .NET demo codes.
Before we present the sample codes, it is necessary that we introduce you some basic properties to help you understand the sorting demo better.
The following is simple demo, in which we set AllowMultiFieldSorting to true, and then apply ascending order for field 1, descending order for field2. You can make adjustment before copying to your ASP.NET evaluation project.
Aspx sample codes:
<kettic:PerListView ID="PerListView1" runat="server" ItemPlaceholderID="PlaceHolder1"
Visual C# .NET sample codes:
ASP.NET AJAX UI Controls