Back to Devexpress

Cannot access DevExpress ASP.NET MVC extensions on the client

aspnetmvc-404527-troubleshooting-client-side-issues-cannot-access-devexpress-asp-net-controls-on-client.md

latest1.3 KB
Original Source

Cannot access DevExpress ASP.NET MVC extensions on the client

  • May 30, 2025
  • 2 minutes to read

Error Description:

This error occurs when you try to use the following methods/events:

Solution:

This error occurs because DevExpress ASP.NET MVC extensions are not completely initialized on the client when you call the startup script, window.onload or document.ready. We do not recommended that you use these APIs with our extensions on the client while other extensions are still active. These approaches are not reliable and can lead to invalid access to extensions on the client.

Use any of the following solutions to resolve the issue:

  1. Handle the client-side Init event to initialize the extension on the client when a page loads.

  2. Handle the ControlsInitialized event to make sure that all DevExpress ASP.NET MVC extensions are initialized and accessible on the client.