Posted 13 Jun 2013 Link to this post
Posted 14 Jun 2013 Link to this post
function
OnClientClick()
{
var
oWnd = $find(
"<%=RadWindow1.ClientID%>"
);
txt1 = document.getElementById(
"RadWindow1_C_txt1"
)
//textbox inside radwindow
txt2 = document.getElementById(
"RadWindow1_C_txt2"
oArg =
new
Object();
oArg.txtRateType = txt1.value;
oArg.txtLabourWeekdayTotal = txt2.value;
oWnd.close(oArg);
return
false
;
}
OnClientCloseInvoicePopup(sender, args)
TextBox1 = document.getElementById(
"TextBox1"
//parent page control
TextBox2 = document.getElementById(
"TextBox2"
arg = args.get_argument();
if
(arg !=
null
TextBox1.value = arg.txtRateType;
TextBox2.value = arg.txtLabourWeekdayTotal;