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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WebAPI not working

Thread ID:

Created:

Updated:

Platform:

Replies:

131597 Jul 18,2017 07:22 PM UTC Jul 19,2017 05:02 PM UTC JavaScript 1
loading
Tags: ejGrid
Ailiam Attobra
Asked On July 18, 2017 07:22 PM UTC

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


Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On 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 







CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;