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

[Solved] Ajax binding and the Back button

1 Answer 91 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.
FinallyInSeattle
Top achievements
Rank 1
FinallyInSeattle asked on 08 Mar 2012, 10:03 PM
I'm having some issues with a MVC grid that is using Ajax binding.  Here's the scenario - this is a list of Orders:
  1. Grid has two pages of data - 10 records each.
  2. User brings up the page and sees Page 1
  3. User pages to Page 2
  4. User transitions to the detail page corresponding to the selected Order.
  5. User hits the back button.

At this point, the grid indicates that it only has 1 page of data and my controller method never fires.  Is this expected behavior?  Any way to get around it other than to switch to Server binding?

Note: using a window.location statement in the OnRowSelect event to transition to the detail page.

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 13 Mar 2012, 02:43 PM
Hello again Lori,

I posted my reply in the support ticket you have opened. For convenience I am pasting my reply below:

*********************************************************************************************************************
This behaviour is not expected and I couldn't reproduce it locally. Could you provide more details about the implementation or a sample project which reproduces the problem so I can check the exact setup?

*********************************************************************************************************************

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
FinallyInSeattle
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or