Hi,
I am mapping the CRUD operations in Grid to a Server-Side Controller action using the properties InsertURL, RemoveURL, UpdateURL,
What is the best way to display a dynamic message after saving data on the server? Also I am using the Dialog Template Form for editing editing.
I am using the following method in the controller to bind the Grid and as another option can I add another property to the DataResult class and somehow display that property value in the View or better still a Dialog control.
public ActionResult DataSource(Syncfusion.JavaScript.DataManager dm)
{
var DataSource = OrderRepository.GetAllRecords();
DataResult result = new DataResult();
result.result = DataSource.Skip(dm.Skip).Take(dm.Take).ToList();
result.count = DataSource.Count();
return Json(result, JsonRequestBehavior.AllowGet);
}
public class DataResult
{
public IEnumerable<EditableOrder> result { get; set; }
public int count { get; set; }
}
Thanks for any assistance.