Grid Loading loop after deployement

Dear Syncfusion Forum members

I have successfully published my MVC Grid project. Its working without any problem when using IIS and browsing the site on the server. However when accessing the web application address using another system, the application is up and running but the Grid table is stuck in a loading loop and not showing any data. on the other hand other tables using default entity method don't face any problem.

I would really appreciate it if you help me ASAP because its really urgent!


Thank you


3 Replies

PS Pavithra Subramaniyam Syncfusion Team June 23, 2022 06:21 AM UTC

Hi massoud,


Thanks for contacting Syncfusion support.


For validating the reported scenario, we need some more details from your end. So please share the below details that will be helpful for us to provide a better solution as early as possible.


  1. Share the full Grid code example
  2. Share the response from the server
  3. Is there any script error?
  4. Share the Syncfusion package version
  5. Which adaptor you are using


Regards,

Pavithra S



MA massoud June 25, 2022 04:08 AM UTC

Dear Pavithra

  • I attached controller and view code to this reply
  • Syncfusion version is 20.1.0.61
  • Error is related to datasource
  • I am using urladaptor



Attachment: Code_bcdc9b9f.zip



PS Pavithra Subramaniyam Syncfusion Team June 27, 2022 11:47 AM UTC

Hi massoud,


Thanks for sharing the details.


In your Grid, we can see that you have set the DataManager “Url” property as “/tbl_Vessel/UrlDatasource”, but we could not find the UrlDatasource action in the given controller code. And for UrlAdaptor we need to return the response from the server as “result” and “count” pair. So please ensure the below cases in your sample to bind the remote data using UrlAdaptor.


  1. Ensure you have the “UrlDatasource” method in your “tbl_Vessel” controller
  2. Ensure it returns the response as “result” and “count”
  3. Share the actionFailure event argument details if this event is hit
  4. Share the screenshot of the response from the server
  5. Share a hosted link of your sample or server if possible.


Regards

Pavithra S


Loader.
Up arrow icon