How to Register Scripts Loaded in Callbacks
- 2 minutes to read
If a script appears on a callback, browsers do not recognize it. DevExpress extensions implement a client-side mechanism that evaluates and executes scripts passed to a client in callbacks.
There are two types of scripts: external scripts and inline scripts.
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