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

WebAPI not working

Hello,
I am trying to display some data from a web api unto a grid but I keep getting no data to be displayed.
1- I have already tested my web Api and it returns a some data
2 - I have also enable the CORS in the Web Api.
3 - When I run the debugger of javascript code on the client ASP.MVC, I can see that :
a- it calls the proper controller within the Web Api.
b- it excutes the Get function and return the corresponding result.
c- it executes the remain javascript and display nothing.
Code:
1- Client - ASP.MVC
Thank you in advance


1 Reply

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team July 19, 2017 05:02 PM UTC

Hi Ailiam, 

Thanks for contacting Syncfusion support. 

We have checked your query and we need some additional information to find the cause of the issue. Could you please share us the following details with us 

1. Share your Grid code example ( Both in server side and Client side). 

2. Have you used two projects like accessing client from one project and controller from another project. 

2. Please make ensure that you have return the data as Items and Count pair. Please share the screenshot as like given below 

 

4. Video/ Screenshot to replicate the issue. 

5. If possible, provide an issue reproducing sample or hosted link 


The provided information will help us to analyze and provide you the solution as early as possible. 

Regards, 

Farveen sulthana T 







Loader.
Live Chat Icon For mobile
Up arrow icon