But in some cases if the User Control uses external resources, it may be necessary to add those external resources dynamically.
To do so, you can use some methods available in the gxgral.js.
Look at the example of the StockChart Control.
In the JScript Runtime Render of the user control, in the show method, the following method is invoked.
this.setGXSkinAndExecute = function ()
var buffer = gx.util.resourceUrl(gx.basePath + gx.staticDirectory + "StockChart/js/themes/" + this.Skin + ".js", false);
var fun = function ()
// Load Skin first and then execute