Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
send parameter to paging
posted

Hi,

I want to send data, when I Paging the grid.
How could I pass?
I would do as you do to save your changes.
Bring in the value "ig_transactions" through the Request.Form ("").

code your Save changes:

Public Function EditingSaveChanges() As ActionResult
ViewData("GenerateCompactJSONResponse") = False
Dim m As New GridModel()
Dim transactions As List(Of Transaction(Of Persona)) = m.LoadTransactions(Of Persona)(HttpContext.Request.Form("ig_transactions"))
For Each t As Transaction(Of Object) In transactions

.

.

.

Next

return JsonResult()

End function

I would do the same when paging.

I append into code HTML element <input type="hidden" name="tipo" value="@Model.myProperty" />

But y don't see a form when call method to paging.

And I don't know where append this element.

could be done?

Thanks in Advanced

Best Regards

Parents
No Data
Reply
  • 17559
    posted

    Hello nitaGM ,

    I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.

Children
No Data