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

[Solved] How to get MVC Grid to reread content via AJAX?

1 Answer 53 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.
Dmitri Nesteruk
Top achievements
Rank 1
Dmitri Nesteruk asked on 23 Dec 2009, 08:51 AM
How can I get the MVC grid to re-read table content? I want to do this from jQuery.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 23 Dec 2009, 09:07 AM
Hi Dmitri Nesteruk,

You can use the ajaxRequest client-side method in order to refresh the grid or the rebind method if you want to completely rebinding (resetting the sorting, paging and filtering):

var grid = $("#GridName").data("tGrid");

grid.ajaxRequest(); // or grid.rebind();

Regards,
Atanas Korchev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Dmitri Nesteruk
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or