WebGrid Community Server

Welcome to WebGrid Community Server Sign in | Join | Help
in Search

Clicking a column header throws error when sort expression defined

Last post 07-24-2008, 1:34 by admin. 1 replies.
Sort Posts: Previous Next
  •  07-24-2008, 1:23 674

    Clicking a column header throws error when sort expression defined

    I need to set a default sort for my grids, setting sortexpression works fine. But when the user clicks the columnheader to reverse the sort order webgrid throws the following error: "A column has been specified more than once in the order by list. Columns in the order by list must be unique." The order by clause reads: "ORDER BY [Employees].[LastName],[LastName]"
  •  07-24-2008, 1:34 675 in reply to 674

    Re: Clicking a column header throws error when sort expression defined

    I need more information about your data source. Please send me some debug information.

    Olav Botterli, WebGrid Founding Developer
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems