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

[Solved] Filter causes page refresh

3 Answers 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Janus Pienaar
Top achievements
Rank 1
Janus Pienaar asked on 05 Feb 2010, 04:07 PM
I have 2 grids on one page, when you click a row on the first grid it causes a rebind of the second grid.
This works fine, but what I have noticed is that when I do any filtering on the second grid, the whole page refreshes.

Sorting works just fine.

Is it nomal that the whole page resfreshes when you do filtering? If so, how do I prevent it from happening?

Thanks

Janus

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Feb 2010, 04:30 PM
Hello Janus Pienaar,

This can occur if some of the grids is not configured to do ajax or in case of a JavaScript error. Do you see any JavaScript errors in your page? Could you paste here the declaration of the grids?

Regards,
Atanas Korchev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Janus Pienaar
Top achievements
Rank 1
answered on 08 Feb 2010, 11:04 AM
Hi I figured out the problem.

My Grid was inside a FORM tag and this caused the Grid to refresh each time I changed the filter.

Thanks for the help.
0
Accepted
Atanas Korchev
Telerik team
answered on 08 Feb 2010, 12:38 PM
Hello Janus Pienaar,

Indeed there was a known bug when the grid is placed inside a <form> tag. Upgrading to the current official version 2009.3.1320 contains a fix for it.

Regards,
Atanas Korchev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Grid
Asked by
Janus Pienaar
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Janus Pienaar
Top achievements
Rank 1
Share this question
or