Dec 30, 2011, 5:40 PM
[CLOSED] How to remove 'X' (window close) for popup window?
Hi,
In a web form we can hide or remove 'X' for window (like login window) with "Closable=false". I would like to implement the same for popup window, and I have implemented this closable property for popup window as below...but still the 'X' is showing
In a web form we can hide or remove 'X' for window (like login window) with "Closable=false". I would like to implement the same for popup window, and I have implemented this closable property for popup window as below...but still the 'X' is showing
var OpenAccountCreation = function (idVal) {
var windowConfig = {
id: "WinNewAccountScreen",
height: 520,
width: 800,
hidden: false,
Closable: false,
title: "Create a New User",
buttonAlign: "center",
iconCls: "icon-userstar",
listeners: {
hide: {
fn: function (el, e) {
Ext.getCmp('WinNewAccountScreen').getBody().btnCheckToDelete.fireEvent('click');
}
}
},
buttons: [
{
id: "btnSaveUser",
text: "Save",
iconCls: "icon-disk",
listeners: {
click: {
fn: function (el, e) {
parent.parent.Ext.getCmp('WinNewAccountScreen').getBody().btnSaveInfo.fireEvent('click');
}
}
}
},
{
id: "btnUserProfileClose",
text: "Close",
listeners: {
click: {
fn: function (el, e) {
parent.parent.Ext.getCmp('WinNewAccountScreen').hide();
}
}
}
}
],
autoLoad: {
url: "User/ExtTestAccount.aspx?" + new Date().getTime(),
nocache: true,
mode: "iframe",
showMask: true,
triggerEvent: "show",
reloadOnEvent: true
}
}
renderWindow(windowConfig);
}
Last edited by Daniil; Dec 31, 2011 at 8:22 AM.
Reason: [CLOSED]