HI,
I am using RADWindow on Master page, when user clicks any button I have a JavaScript that finds, sets the NavigateURl property of RADWindow control as follows:
Step 2) Inside the CreateFarm.aspx we have a "Create" and "Cancel" button, I want to close this RADWindow when the user hits Cancel button. How to achieve that in the CreateFarm.aspx.cs, I mean how do I get reference to instance of RADWindow and CLOSE it?
I am using RADWindow on Master page, when user clicks any button I have a JavaScript that finds, sets the NavigateURl property of RADWindow control as follows:
<
script type="text/javascript">
function OpenCreateVirtualFarmWindow(button, args) {
var oManager = GetRadWindowManager();
var oWnd = oManager.getWindowByName("CaasRADWindow");
oWnd.SetSize(400, 400);
oWnd.SetUrl("/CaasCustomerPortal/CreateFarm.aspx");
oWnd.Show();
return false;
}
</
script>
Step 2) Inside the CreateFarm.aspx we have a "Create" and "Cancel" button, I want to close this RADWindow when the user hits Cancel button. How to achieve that in the CreateFarm.aspx.cs, I mean how do I get reference to instance of RADWindow and CLOSE it?