you are now added to my git repo. I have created a page under plcm\home called grid and added controller method and data read ajax call to home controller. Major change I have done is as explained in Telerik getting started instructions.
in Layout page I moved all aspnetzero java script to header and added kendo javascript libraries. you can see kendo date control working on home page. Also going to \plcm\home\products_read you can data is returned properly but not bound correctly.
Thanks V
also, if you can give me github login name I can share the github repo of the project too
Helopp @ismcagdas,
I have shared the link to zipped folder with [email protected]. Thanks for alll your engagement and support.
Thanks
Thank you Bob. The funny part is Telerik grid is working with aspbboilerplate 5.2 but not with paid aspmetzero version. No response yet from volvosoft yet.
Here is some more details on the problem https://stackoverflow.com/questions/60738147/kendo-grid-not-binding-to-data-in-asp-net-mvc-core
This one issue is holding up all project.
Thanks V
Thanks for the quick response. Grearly appreciated. We are not using angular: We are using asp.net core mvc 3.1 with telerik kendo ui for jQuery. Any sample with that combination will help.
That helped with result formating. Still the grid is not binding. I can make same work without abpnetzero in standard asp.net core mvc 3.1 project. Once I use asp.net zero, the grid binding stops working.
Do you have a sample to show how to make it work?
If this does not work, I might end up scrapping asp.net zero enterprize license. I just bought couple days ago. Any help sample greatly appreciated.
Let me know if you need sample project. you should be able to use 30day trial of asp.net core mvc jquery telerik ui. I think this is not just my problem, but any enterprise users using asp.net zero.
Thanks
Seems like two issues are caused when using abp controller as base
public IActionResult ChangeOrder\_Read([DataSourceRequest] DataSourceRequest request)
{
return Ok(System.IO.File.ReadAllText(@"Test.json"));
}
Contents of File:
{
"Data": [
{
"CatalogNumber": "Catalog 12345",
"UsageCode": "Usage Code 1"
},
{
"CatalogNumber": "Catalog 8234758",
"UsageCode": "Usage Code 2"
}
],
"Total": 0,
"AggregateResults": null,
"Errors": null
}
The data returned (abp added additional data, which causes kenddo grid not bind")
{"result":"{\r\n \"Data\": [\r\n {\r\n \"CatalogNumber\": \"Catalog 12345\",\r\n \"UsageCode\": \"Usage Code 1\"\r\n },\r\n {\r\n \"CatalogNumber\": \"Catalog 8234758\",\r\n \"UsageCode\": \"Usage Code 2\"\r\n\r\n }\r\n\r\n ],\r\n \"Total\": 0,\r\n \"AggregateResults\": null,\r\n \"Errors\": null\r\n}","targetUrl":null,"success":true,"error":null,"unAuthorizedRequest":false,"__abp":true}
Thank you bob. I am using ASP Net Zero JQuery and Telerik Aspnet core JQuery. I will try out some of your suggestions.
Thanks Vee
Thank you for the quick response. This helped.