This is a migrated thread and some comments may be shown as answers.

Grid Sort Redirects to the server which produces a 404 error

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 21 Nov 2013, 07:16 PM
I have a Kendo UI grid on a View that correctly display the results of a search based upon some parameters in a form.

The form is submitted to a Controller 

  public ActionResult Results(SearchInput SearchType)

Which then returns the strongly typed view.

When I sort, I get redirected to this URL which produces a 404 error:

http://localhost:4535/Results/Results?SearchResults-sort=LastName-asc

I have another grid on another form where this behavior does not happen... The only difference is that the controller where it is working has no input parameter 

  public ActionResult Index()

Any clues?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Nov 2013, 09:43 AM
Hello,

This could happen in one of the following cases:

  • The Kendo UI JavaScript files are not included.
  • There is a JavaScript runtime error.
  • The Grid is configured for server binding.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or