Hi,
Im displaying a user form using a radwindow. When a user cancels out of the form, I have the rad window close and return to the parent window. However, if they bring the RadWindow up again, the IsPostBack property of the page that is displayed has not been reset, and so the values that were entered previously are still stored there.
I looked through the documentation and the only way i found to get around it was to force the parent page to refresh. Is it possible to have the IsPostBack property reset without having to refresh the parent page which launched the RadWindow?
I have a cancel button in the form that is displayed in the RadWindow that calls the client side CloseWindow method below.
Im displaying a user form using a radwindow. When a user cancels out of the form, I have the rad window close and return to the parent window. However, if they bring the RadWindow up again, the IsPostBack property of the page that is displayed has not been reset, and so the values that were entered previously are still stored there.
I looked through the documentation and the only way i found to get around it was to force the parent page to refresh. Is it possible to have the IsPostBack property reset without having to refresh the parent page which launched the RadWindow?
I have a cancel button in the form that is displayed in the RadWindow that calls the client side CloseWindow method below.
function GetRadWindow() | |
{ | |
var oWindow = null; | |
if (window.radWindow) oWindow = window.radWindow; | |
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; | |
return oWindow; | |
} | |
function CloseWindow() | |
{ | |
var oWindow = GetRadWindow(); | |
oWindow.close(); | |
} |