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

How to refresh grid and stay in same page after update in Detail Template???

1 Answer 335 Views
Grid
This is a migrated thread and some comments may be shown as answers.
saroj
Top achievements
Rank 1
saroj asked on 25 Mar 2013, 05:41 AM
Hi Guys,

I have a Kendo grid which contain Detail ClientTemplate where
I have Save and cancel button inside Ajax.BeginForm.

When i save data in page 50 it is redirecting me to page 1 after saving but i need to stay in same
page 50 and do refresh.

Is there any solution????

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 27 Mar 2013, 08:36 AM
Hello Saroj,

I am not sure if I understand correctly the issue. Since you are using an Ajax form, an Ajax request should be made and the page should not be redirected. Could you provide the code you are using so I can check the setup?
If you need to reload the page and navigate to the same Grid page then you could include a route value to the request with a name in the format Grid Name plus "-page" that has the current page as value. The Grid should automatically apply it.

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