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

Filter causes post to page

2 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Efi
Top achievements
Rank 1
Efi asked on 24 Mar 2013, 10:08 AM
Hi,
We are using a SPA architecture to display the grid.
when clicking the filter (clear or submit) the url changes (post occurs)

is there a way to disable it? (and simply trigger the event to filter)

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 27 Mar 2013, 08:48 AM
Hello Efi,

 We couldn't reproduce this behavior in our online demos. Filtering doesn't change the URL there. Could you provide more details how to reproduce this issue? Some sample code would help.

Kind regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Efi
Top achievements
Rank 1
answered on 27 Mar 2013, 12:37 PM
Hi,
Thank you for your reply.
As it turns out is was a mixture of sammy.js + kendo UI.
since you are using <form> for the filter (which is actually not really clear why.. since there isn't really a form there...) it caught the submit action of the filter.

FYI- you can overrwrite the _checkFormSubmission of sammy.js to create custom behaviour.

The issue is fixed. but I would like to recommend not using form element in anything that doesn't really require it..
thank you!

Tags
Grid
Asked by
Efi
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Efi
Top achievements
Rank 1
Share this question
or