BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
When I comment out the update() routine the data object is returned to it's original values prior to user updates, but the grid still shows the user modifications. How can I force an update of the grid's data? I've encountered the same problem with inline and batch editing. Batch would be my preferred method in this application.
public ActionResult Update(EditableOrder value)
if (value.EmployeeID > 5)
OrderRepository.Update(value); //Update in DB if EmployeeID is gt 5.
else // Else return the Corresponding original record from DB
value = OrderRepository.GetAllRecords().Where(o => o.OrderID == value.OrderID).SingleOrDefault();
return Json(value, JsonRequestBehavior.AllowGet);