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.
Unfortunately, activation email could not send to your email. Please try again.

OData query fails on OPTIONS preflight

Thread ID:

Created:

Updated:

Platform:

Replies:

119974 Aug 19,2015 01:47 PM Aug 21,2015 04:42 AM ASP.NET MVC 1
loading
Tags: DataManager
David Elies
Asked On August 19, 2015 01:47 PM

When I use the URL for our OData service in the datasource for a grid, it sends an OPTIONS request instead of a GET.  This fails, as the service doesn't allow OPTIONS requests.  Why is this being sent?  Is there something I can do to keep it from sending the OPTIONS pre-flight?

Alan Sangeeth S [Syncfusion]
Replied On August 21, 2015 04:42 AM

Hi David,

Thanks for using Syncfusion products.

We are sorry to let you know that we are unable to reproduce the issue in our end. Please refer the following screenshot


For your convenience we have created a sample using OData Service and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/119974/ze/MvcApplication41894149430

Could you please send us the following information so that we could sort out the cause of the issue and provide you a response as early as possible?

  • Grid view page code snippets and OData service code snippets
  • Details of the request sent to OData Service from Grid.
  • If possible, please replicate the issue in the above sample and send us back.

Please let us know if you have any queries.

Regards,
Alan Sangeeth S

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.

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.

;