Hello,
I'm using an igGrid via MVC wrapper and I also have editors for my Model on the same page. When I call saveChanges for the Grid the Controller method tied to the UpdateURL property does not seem to see any of my Model data (the model is null). Conversely, if I submit my changes via HttpPost, the Controller sees my Model but when calling this code:
List<Transaction<FAMSPlaybookActivity>> transactions = gridModel.LoadTransactions<FAMSPlaybookActivity>(HttpContext.Request.Form["ig_transactions"]);
I would get the error:
'System.ArgumentNullException' - String reference not set to an instance of a String.
I believe this is because the ig_transaction is null. How would I expose the grid transaction to my Controller post method? I need to save both my Model data and Grid transaction on the same controller method. An example code would be appreciated, thanks!
Please have a look at the following sample - http://www.igniteui.com/grid/rest-editing. I believe it will be helpful to you since it implements a similar scenario - review the [ActionName("rest-editing")] action. Please let me know if I misunderstood you or if you have further questions on the issue.