Code-Behind:
protected void btnClear_Click(object sender, EventArgs e)
{
RadWindowManager1.RadConfirm(
"ARE YOU SURE WANT TO CLEAR THE SEARCH FORM?", "buttonConfirm",450, 150, null, "INFO");
if (hdfConfirm.Value == "true")
{
resetSearchForm();
}
}
Javascript:
function
buttonConfirm(arg)
{
if (arg)
{
//Set hidden field (hdfConfirm) value to true
document.getElementById("<%=hdfConfirm.ClientID%>").value =
"true";
}
else
{
//Set hidden field (hdfConfirm) value to false
document.getElementById("<%=hdfConfirm.ClientID%>").value =
"false";
}
$find("<%=RadAjaxManager1.ClientID%>").ajaxRequest(arg);
But it didn't work. Would you please check to see if I'm missing something here?
Thanks
Lamk