How to Register Scripts Loaded in Callbacks
- 2 minutes to read
If a script is loaded in a callback, browsers do not recognize it. DevExpress controls implement a client-side mechanism that evaluates and executes external and inline scripts passed to a client in callbacks.
Register an External Script
An external script is loaded from an external file. This script is registered only once for the first callback. Add the
dxis_ prefix to the id attribute value to register an external script.
Register an Inline Script
An inline script is embedded in HTML. This code is registered and executed on every callback. Add the
dxss_ prefix to the id attribute value to register an inline script.
Access a Script Specified in Another Callback Container