This question is locked. New answers and comments are not allowed.
Hello Team,
My Code is as below,
My Code is as below,
My Controller method
[HttpPost]
[GridAction]
public void InsertEmployee(EmployeeModel model)
{
string result = _service.INsertEmployee(model);
var cr = dataStore.Get<EmployeeSearchModel>();
return View(new GridModel(_service.GetEmployeeBySearchParas(cr)));
}
View:
@html.Telerik.Grid<EmployeeModel>()
.DataBinding (databinding => databinding.Ajax()
.Insert("InsertEmployee", "Employee"))
I want to display the "result" in the view in a label after the insert method is executed.
please suggest me how to do this.
Am i missing anything.
Thanks,
Murthy.