Jul 15, 2014, 10:12 AM
Load Dynamic Loader in ClientSide
Hi I m trying to load my Dynamic Loader in ClientSide.. Please help me to load it in my page containing Panel.
This results the page to load two times.. How can I Avoid Loading a page two times?? Quick help will be appreciated..
var i = this.getSelectionModel().getSelection()[0].data.hrefTarget;
if (i == '') {
return false;
}
dynamicPanel = new Ext.Component({
loader: {
url: i,
renderer: 'html',
autoLoad: true,
scripts: true
}
});
Ext.getCmp('panel').add(dynamicPanel);
Variable i contains URL of the page to be redirected and loaded in the loader.This results the page to load two times.. How can I Avoid Loading a page two times?? Quick help will be appreciated..
Last edited by Daniil; Jul 15, 2014 at 1:09 PM.
Reason: Please use [CODE] tags