Sorting Not Working

Jun 3, 2014 at 8:15 PM
Given this simple (one-column) grid:
@Html.Grid(Model.applicants).Columns(columns =>
{
         columns.Add(c => c.ClientID).Titled("Client ID").Sortable(true);                                 })
the grid displays correctly.

When I click the header instead of sorting I get:

"HTTP Error 404.0 - Not Found"

Does anyone know why?

Many thanks.
Coordinator
Jun 22, 2014 at 7:27 AM
Hi,

Sorting header redirects you to new URL like ?grid-column=OrderID&grid-dir=0. Ensure that your web site avaliable there.