1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    8
    Vote Rating
    0
    nitija is on a distinguished road

      0  

    Default Unanswered: URL is not loaded in Ext.Window

    Unanswered: URL is not loaded in Ext.Window


    Hi , I have below lines of code.but URL is not loaded in Ext.window.

    Ext.define('Lancet.engine.asset.population.EditPopulation',
    {
    extend: 'Ext.button.Button',
    alias: 'EditPopulation',
    itemId: 'btnEditPopulation',
    itemId: 'btnEditPopulation',
    iconCls: 'edit16',
    disabled: false,
    listeners: {
    click: function () {
    dynamic_sample_window = Ext.widget('window', {
    title: 'Add Populations',
    closeAction: 'hide',
    width: 500,
    draggable: false,
    height: 530,
    closable: true,
    layout: 'border',
    modal: false,
    items: [
    {
    region: 'center',
    layout: 'fit',
    id: 'external_content_panel',
    xtype: 'panel',
    bodyStyle: 'padding:10px',
    border: false,
    scope: this,
    loader: {
    url: '/Lancet.Engine.Web/CountReport/EditOrNew/',
    renderer: 'html',
    scripts: false
    }
    }]
    }).show();
    }
    }
    });

    Kindly help & advice.URL is not loaded.

  2. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    8
    Vote Rating
    0
    nitija is on a distinguished road

      0  

    Default


    hi,

    Issue is resolved.

    Thanks.