- Home
- Forum
- ASP.NET Core - EJ 2
- Data not displaying in grid
Data not displaying in grid
Hi
I have just installed syncfusion into a new ASP.net Core MVC project and I can't get the data to display. I had it working on a previous laptop but now I have changed it won't work I have attached some snippets after following installation instructions. The data is being provided to the grid but it just wont display
Cheers,
RJ
Attachment: Grid_6e8faa37.zip
SIGN IN To post a reply.
4 Replies
RJ
RJ
November 7, 2021 05:39 PM UTC
Further Update,
I have also tried this with a drop down box and it also just appears with a blank box
Cheers
SK
Sujith Kumar Rajkumar
Syncfusion Team
November 8, 2021 11:18 AM UTC
Hi Ross,
Greetings from Syncfusion support.
We checked the reported problem based on your shared data but unfortunately were unable to reproduce it as the Grid was properly displayed with its data. Please check the below sample and screenshot image for reference,
We suspect that you might be facing the problem due to one of the following reasons,
- The EJ2 Script manager tag(<ejs-scripts></ejs-scripts>) not specified at the end of the <body> element. Please specify it at the end of the body element as mentioned in this documentation link.
- The ‘Syncfusion.EJ2.AspNet.Core NuGet package’ not installed in your application.
So please ensure the above cases and if problem still persists then please share us the following information to validate further on this,
- Are any console errors thrown? If so, share us the same.
- Please bind Grid’s actionFailure event and share us the argument details if the event is triggered.
- Share us a pictorial representation of the current rendered Grid.
- Syncfusion package version used.
- If possible share us a simple sample to replicate the problem or try reproducing it in the above shared sample.
We suspect that the dropdown data binding problem is due to the same reason and so please ensure the above cases and if problem persists with the dropdown list control also, then please share us the dropdown control related code to check further.
Regards,
Sujith R
RJ
RJ
November 8, 2021 07:11 PM UTC
Thank you for your reply!
Once I moved the scripts to the bottom of the body everything seems to work fine.
Thanks for your help
RJ
SK
Sujith Kumar Rajkumar
Syncfusion Team
November 9, 2021 07:24 AM UTC
Hi Ross,
You’re welcome. We are glad to hear that your query has been resolved.
Regards,
Sujith R
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
RJ RJ
- Nov 4, 2021 09:06 PM UTC
- Nov 9, 2021 07:24 AM UTC