I have an app where, in any number of places, I open a RadWindow and then the user's interaction with that window will open another RadWindow.
We've been doing this for an age and it all works fine.
Now, however, I have a RadWindow that opens and that window's page includes the definition of another RadWinow with a ContentTemplate.
This, inner, window is defined like this...
and the ClosePopup function is defined thus...
My problem is that when the Close button is clicked in the inner window it closes both the inner window and the containing window.
How do I get just the inner window to close?
--
Stuart
We've been doing this for an age and it all works fine.
Now, however, I have a RadWindow that opens and that window's page includes the definition of another RadWinow with a ContentTemplate.
This, inner, window is defined like this...
<
telerik:RadWindow
runat
=
"server"
ID
=
"winUpload"
Width
=
"650px"
Height
=
"500px"
Modal
=
"true"
ReloadOnShow
=
"true"
KeepInScreenBounds
=
"true"
ShowContentDuringLoad
=
"false"
>
<
ContentTemplate
>
<
div
>
<!-- content -->
<
div
class
=
"clbDialogButtons"
>
<
telerik:RadButton
ID
=
"UploadConfirmButton"
runat
=
"server"
style
=
"margin-left:3px"
Text
=
"Upload"
/>
<
telerik:RadButton
ID
=
"UploadCancelButton"
runat
=
"server"
style
=
"margin-left:3px"
Text
=
"Cancel"
AutoPostBack
=
"false"
CausesValidation
=
"false"
OnClientClicked
=
"ClosePopup"
/>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
function
ClosePopup(sender, e)
{
GetRadWindow().close();
}
My problem is that when the Close button is clicked in the inner window it closes both the inner window and the containing window.
How do I get just the inner window to close?
--
Stuart