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

2 posts, 0 answers
  1. saroj
    saroj avatar
    39 posts
    Member since:
    Oct 2011

    Posted 25 Mar 2013 Link to this post

    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
  2. Daniel
    Daniel avatar
    2219 posts

    Posted 27 Mar 2013 Link to this post

    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.

    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top