Hi,
I'm facing an issue from an upgrade as mentioned.
I have a scenario as such, where I have a RadWindow which returns values via arguments thru OnClientClose, and I write this using javascript to two ASP textboxes, however, the moment I upgraded the component to the latest version, the value gets written to the textboxes but no text is displayed on ctl1. If I do an alert based on the ctl1 value, I can get the value, but the textbox text is still empty. ctl2 works fine.
Any Ideas?
I'm facing an issue from an upgrade as mentioned.
I have a scenario as such, where I have a RadWindow which returns values via arguments thru OnClientClose, and I write this using javascript to two ASP textboxes, however, the moment I upgraded the component to the latest version, the value gets written to the textboxes but no text is displayed on ctl1. If I do an alert based on the ctl1 value, I can get the value, but the textbox text is still empty. ctl2 works fine.
Any Ideas?
function OnClientClose(radWindow)
{
var oArg = radWindow.Argument;
if (oArg!=null) {
if (oArg.type == 'task')
{
var ctl1 = document.getElementById(oArg.key1);
var ctl2= document.getElementById(oArg.key2);
ctl1.style.color="blue";
ctl1.value = oArg.value1;
ctl2.value = oArg.value2;
}
}
}