We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid not showing at all on the page

Hello,


I have a weird problem. I am trying to display a simple grid of 64 rows and two string columns, nothing fancy, but upon launching the app, the page load but there is no grid component.


I made a sample project trying to reproduce the behavior by gradually including elements from the real app. It was working fine in the sample project until I added the areas routing. Then the grid was not shown anymore.


Do you came across this problem already? I would like to keep the areas to better organize controllers in the project.


Thank you


4 Replies

MI Michael March 12, 2023 01:54 PM UTC

Searching the docs, I found this page 

https://ej2.syncfusion.com/aspnetcore/documentation/common/areas


It seems that moving the ViewImports and ViewStart to the root of the project made it work.



JC Joseph Christ Nithin Issack Syncfusion Team March 13, 2023 09:46 AM UTC

Hi Michael,


   Greetings from Syncfusion support.


   We are glad that the documentation was helpful in fixing the issue you were facing.



Regards,

Joseph I.



HU Hussein replied to Joseph Christ Nithin Issack July 30, 2023 04:37 PM UTC

Hi Joseph,

I am having same problem. 
I am using .net framework webform.

I used the exact code that is in https://help.syncfusion.com/aspnet/grid/data-binding?cs-save-lang=1&cs-lang=csharp#datatable  but it does not show the grid. Also the project has not viewimport file. I created the project using the Syncfusion extension.

Any 
suggestions?



PS Pon Selva Jeganathan Syncfusion Team August 2, 2023 07:17 AM UTC

Hi Hussein,


QueryThe issue is the gird is not showing. When I inspect the code the grid is there but there is no content (columns)


We checked your query by preparing sample, but we were unable to replicate the issue at our end.


Refer to the below sample,

https://www.syncfusion.com/downloads/support/directtrac/general/ze/webform-103299435


Refer to the below screenshot,



Refer to the below help documentation,

https://help.syncfusion.com/aspnet/visual-studio-integration/create-project

https://help.syncfusion.com/aspnet/grid/grid-dependencies


Still if you are facing issue, please provide the following information.


  1. Package version details
  2. Share the site.master file.
  3. Video demo or screenshot of the issue
  4. Script error details( if face any)
  5. If possible, share the issue reproducible sample or reproduce the issue in above shared sample.


The provided information will be helpful to proceed further.


Regards,

Pon selva


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.



Loader.
Up arrow icon