1

I have an ASP.NET MVC web application using DevExpress controls (specifically ASPxGridView and MVCxGridView) that was originally using Forms authentication.

As part of a security enhancement, I’ve migrated the app to use Azure AD B2C for authentication via OWIN middleware.

Since the migration, DevExpress grid callbacks (sorting, filtering, paging, etc.) are no longer reaching the controller. The grid just shows a "Loading..." indicator indefinitely.

Ideally the callback should reach the controller and return a partial view like it works with forms authentication. However in my case, it doesn't even reaching controller. I observed that client-side BeginCallback is triggered, however nothing happens afterwards.

These are my observations:

  1. The callback never hits the controller
  2. No XHR request appears in the browser's Network tab during the callback
  3. No error is thrown, but the grid stays in a loading state
  4. Application Insights shows no activity from the callback request
  5. The callback URL (/Dashboard/DashboardProjectManagementGridView) is correct and accessible
3
  • Devexpress is known to have issues with callbacks in OWIN, it's best for you to gradually stop using devexpress. Commented Jul 17 at 4:44
  • Our plan is to stop using devexpress eventually, however in short term we will have to relay on devexpress as stripping out devexpress completely from the project is a significant challenge which requires lot of resource. Can you please suggest any solution ideas for my problem while keep using devexpress ? Commented Jul 17 at 20:41
  • We have managed to fix the issue. It was related to the javascript used for application telemetry which was blocking the devexpress callbacks when we converted the forms authentication to ADB2C using OWIN Commented Jul 24 at 3:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.