Back to Devexpress

Cannot access DevExpress ASP.NET controls on the client

aspnet-403763-troubleshooting-client-side-issues-cannot-access-devexpress-asp-net-controls-on-client.md

latest1.3 KB
Original Source

Cannot access DevExpress ASP.NET controls on the client

  • May 29, 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 controls 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 controls on the client while other controls are still active. These approaches are not reliable and can lead to invalid access to controls on the client.

Use any of the following solutions to resolve the issue:

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

  2. Handle the ControlsInitialized event to make sure that all DevExpress web controls are initialized and accessible on the client.