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: PerListViewSortExpression expression; | ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control ASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control ASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control ASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control ASP.NET AJAX ListBox UI Control ASP.NET AJAX ListView UI Control OverviewGetting StartedTemplatesFeatures PagingSorting SelectingGroupingFilteringData Binding DataSource DataASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |