Hello,
after some initial test with Kendo UI and the reading a book of Freeman about MVC I've decided to put struff toghether... but I've still some hiden point I've to finish analyzing...
First : Does Kendo UI supports Entity Framework (in the specific case IdeaBlade's Devforce implementation)? I've tried with a single Entity and it was ok, added a relational one and the view doesn't load data anymore...
Second: I've read I can use the Async ActionResult for MVC ...beign a fan of It I was wondering how should I load the data with KendoUI , consider for example this ActionResult
public async Task<ActionResult> GetClientiAsync([DataSourceRequest]DataSourceRequest request)
{
IQueryable<I_CLIENTI> dataResult = await clientiRepository.GetAllClientiAsync();
DataSourceResult res = dataResult.ToDataSourceResult(request);
return Json(res, JsonRequestBehavior.AllowGet);
}
Third : On the book I've seen it uses the View(<model>) returned... in some of your example you use Json to return data passing [DataSourceRequest] and as far I've understood it's in order to bind the kendo object on the View... What have I to use so?
Thanks
after some initial test with Kendo UI and the reading a book of Freeman about MVC I've decided to put struff toghether... but I've still some hiden point I've to finish analyzing...
First : Does Kendo UI supports Entity Framework (in the specific case IdeaBlade's Devforce implementation)? I've tried with a single Entity and it was ok, added a relational one and the view doesn't load data anymore...
Second: I've read I can use the Async ActionResult for MVC ...beign a fan of It I was wondering how should I load the data with KendoUI , consider for example this ActionResult
public async Task<ActionResult> GetClientiAsync([DataSourceRequest]DataSourceRequest request)
{
IQueryable<I_CLIENTI> dataResult = await clientiRepository.GetAllClientiAsync();
DataSourceResult res = dataResult.ToDataSourceResult(request);
return Json(res, JsonRequestBehavior.AllowGet);
}
Third : On the book I've seen it uses the View(<model>) returned... in some of your example you use Json to return data passing [DataSourceRequest] and as far I've understood it's in order to bind the kendo object on the View... What have I to use so?
Thanks