• .NET

    Using Report parameters UI to sort by column

    November 21, 2008 Share
    Our 'series' of tips and tricks for Telerik Reporting continues with this neat approach to sort the report by column. We would create a sample report using the AdventureWorks database that comes with our examples and use a single table with few columns that are easy to remember namely FirstName, LastName, Title .. you know the drill :) In order to use the built-in parameters area of the report, we would need to create a report Parameter that lists the column names. We can do that by creating a Business object that holds this for us:   public class ColumnSelector : DataTable     {        ...