This question is locked. New answers and comments are not allowed.
So,
I have a grid that I need to populate based off input from something. Right now I'm trying to use a 2nd grid, and send that via an Edit/Update command, to an Action method decorated with the [GridMethod] attribute.
Everything passes ok, the data I expect to see, I can see. But the destination grid is never updated, instead the method returns a pure View, not a JSON result. I am using the GridModel class.
I am trying to bind this 2nd grid using AJAX, just like are used in the examples.
Another thing to note is these grid(s) are on Partial Views within the tabstrip. Initially I had everything bound from the Server side, but on the RedirectToAction, the current Tab was lost, and renavigating too it lost the info.
Any help would be much appreciated!
EDIT - I switched it to use an AJax form instead.
I have a grid that I need to populate based off input from something. Right now I'm trying to use a 2nd grid, and send that via an Edit/Update command, to an Action method decorated with the [GridMethod] attribute.
Everything passes ok, the data I expect to see, I can see. But the destination grid is never updated, instead the method returns a pure View, not a JSON result. I am using the GridModel class.
I am trying to bind this 2nd grid using AJAX, just like are used in the examples.
Another thing to note is these grid(s) are on Partial Views within the tabstrip. Initially I had everything bound from the Server side, but on the RedirectToAction, the current Tab was lost, and renavigating too it lost the info.
Any help would be much appreciated!
EDIT - I switched it to use an AJax form instead.