This question is locked. New answers and comments are not allowed.
Hi,
I am very new to Telerik world. Working of asp.net MVC Grid control.
I have a task to add/append a record using client side ajax call function that is interacting with server side method in asp.net mvc Controller. The server side method returns the set of new records that has to be appended to the existing records of Grid.
Below one is the client side custom code that is written for a Button. Other code is the server side code that is returning the set of records to be appended with Grid control. when I implement this the control is not returning from the server side to ajax call.
Am I missing something? If you have any good demo/example please pass it.
I am very new to Telerik world. Working of asp.net MVC Grid control.
I have a task to add/append a record using client side ajax call function that is interacting with server side method in asp.net mvc Controller. The server side method returns the set of new records that has to be appended to the existing records of Grid.
Below one is the client side custom code that is written for a Button. Other code is the server side code that is returning the set of records to be appended with Grid control. when I implement this the control is not returning from the server side to ajax call.
Am I missing something? If you have any good demo/example please pass it.
<script type="text/javascript"> function createRecord(btnAction, code) { var grid = $("#FilterDICOMConceptsGrid").data("tGrid"); //Get the grid row container $.get("Home/AddFilter", function (data) { grid.dataBind(data); });}</script>
public ActionResult AddFilter()
{
var observationsViewModel = new ObservationsViewModel();
var filtersection = new List<FilterSection>();
filtersection.Add(new FilterSection());
filtersection.Add(new FilterSection());
filtersection.Add(new FilterSection());
filtersection.Add(new FilterSection());
filtersection.Add(new FilterSection());
observationsViewModel.filterSection = filtersection;
return View(observationsViewModel);
}