This question is locked. New answers and comments are not allowed.
Hello,
I have a kendo grid and below it is a kendo line chart.
Based on the grid I need to build the chart as they are inter- related.(and made from the same data)
So, can I use the same controller method for both??
.Read(read => read.Action("GetResults", "home").Data("GetInputData"))
My controller method (basically first made for grid),
public ActionResult GetFuturePrices([DataSourceRequest]DataSourceRequest request, String Name, String Address)
{
List<Details> DetailsList = new List<Details>();
//something something...
return Json(DetailsList .ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
}
I have a kendo grid and below it is a kendo line chart.
Based on the grid I need to build the chart as they are inter- related.(and made from the same data)
So, can I use the same controller method for both??
.Read(read => read.Action("GetResults", "home").Data("GetInputData"))
My controller method (basically first made for grid),
public ActionResult GetFuturePrices([DataSourceRequest]DataSourceRequest request, String Name, String Address)
{
List<Details> DetailsList = new List<Details>();
//something something...
return Json(DetailsList .ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
}