This is a migrated thread and some comments may be shown as answers.

Following document but not display data

5 Answers 54 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
kommaly
Top achievements
Rank 1
kommaly asked on 18 Jul 2019, 02:04 PM

I have following document to implement treelist but there is not data display

Look at my implementation picture below

 

5 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 19 Jul 2019, 02:12 PM
Hello Kommaly,

Thank you for the provided configuration. I have examined it but did not find anything that may lead to data not being rendered on the TreeList.

I am attaching a sample project with a similar configuration to the one you need. Please review it and let me know if you have any questions. Also, if possible, provide a simple, locally runnable project or code snippets that demonstrate the issue you are experiencing. 
 

Regards,
Nikolay
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
kommaly
Top achievements
Rank 1
answered on 19 Jul 2019, 04:12 PM
Thank you so much
0
Randy
Top achievements
Rank 1
answered on 23 Jul 2019, 07:32 PM

I'm having a similar issue.

I'm unable to get the data to display in a web page, despite the fact that the data hits the web page (via console window/network tab)

 

sample: https://github.com/RA-Work-A/TreeListView

0
Nikolay
Telerik team
answered on 25 Jul 2019, 01:41 PM
Hello Randy,

I have responded to your ticket with the same topic, but I will post the solution here as well. It may be helpful to others with similar issue.

In Startup.cs I have added at the top:

using Newtonsoft.Json.Serialization

and in ConfigureServices method:

.AddJsonOptions(options =>
            options.SerializerSettings.ContractResolver = new DefaultContractResolver());

The above you can find in the Getting Started article that demonstrates how to configure an ASP.NET Core project to use Telerik UI for ASP.NET Core.
 
Please find attached your demo revised and displaying the data in a Kendo TreeList view.

Regards,
Nikolay
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Randy
Top achievements
Rank 1
answered on 25 Jul 2019, 06:54 PM
My issue was less a technical reason and more of a understanding reason. That being said. My issue has been resolved. 
Tags
TreeList
Asked by
kommaly
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
kommaly
Top achievements
Rank 1
Randy
Top achievements
Rank 1
Share this question
or