Hi,
I am displaying popup window on click of button with two disabled text boxes and two buttons used disabled:true. Popup is comming fine but text field is displying with blank.gif + text but expected is with out any image.
Could you pls. help me out from this problem.
Code piece is below:
isc.Window.create({
ID: "replywindow",
autoSize:true,
autoCenter: true,
autoCenter:true,
title:"Reply View pop-up Window",
showModalMask: true,
autoDraw: true,
showMinimizeButton:true,
showMaximizeButton:true,
autoSize :true,
layoutMembersMargin:50,
padding:10,
showIcons:false,
autoCenter:true,
closeClick :function()
{ oncloseButton()
},
header:"Reply View pop-up Window",
items: [
isc.DynamicForm.create({
defaultWidth: 300,
numCols: 2,
colWidths: ["90%", "*"],
ID:"msgreply",
fields: [
{
name: "To",
type: "text",
showTitle: false,
colSpan: 2,
defaultValue:"To:Sumesh02@cpiec.eu",
disabled:true,
cellPadding:10,
showInlineErrors:true,
width: "*"
},
{
name: "spacer1", type: "spacer", height:5, colSpan:2
},
{
name: "subject",
type: "text",
showTitle: false,
colSpan: 2,
defaultValue:"Subject:re:KYC Documentation",
disabled:true,
width: "*"
},
{
name: "spacer1", type: "spacer", height:10, colSpan:2
},
{
name: "message",
type: "text",
length: 4000,
showTitle: false,
colSpan: 2,
width: "*"
},
{
name: "spacer1", type: "spacer", colSpan:2, height:10
},
{
startRow:true,
type: "button",
name: "Send",
padding: 5,
rowSpan: 2,
leftPadding:10,
click: function() { doSubmit(); }
},
{
startRow:true,
type: "button",
name: "Cancel",
rowSpan: 2,
align:"left",
click:function()
{
var data=msgreply.getValue("message");
if(typeof data == "undefined"|| data ==null || data =="null")
{
return true;
}
else
{
var r=confirm("This will discard your current Message. Do you wish to proceed?");
if(r)
{
replywindow.Super("closeClick", arguments)
}else
return false;
}
}
}
]
})
]
});
Could you pls. replay, i am waiting for your response.