Apr 18, 2013, 12:36 PM
Create component in JS on demand
Hi,
I use many Ext.NET Windows ony my page (declared in aspx file), implicitly they are hidden/not visible and they are invoked, shown by Direct Events. Now my Direct events contain .show() method of Ext.NET.Window. The problem is, that even though windows are not rendered to DOM, JS object are created. And this makes page load longer in older browsers.
Is there any possibility to create JS object after invocation by Direct event?
Thanks.
I use many Ext.NET Windows ony my page (declared in aspx file), implicitly they are hidden/not visible and they are invoked, shown by Direct Events. Now my Direct events contain .show() method of Ext.NET.Window. The problem is, that even though windows are not rendered to DOM, JS object are created. And this makes page load longer in older browsers.
Is there any possibility to create JS object after invocation by Direct event?
Thanks.