Hi,
I have my RadWindow defined in one ascx file for example "controlParent". Content of this window is another ascx file for example "controlChild". How can I close my RadWindow by asp:button in control "controlChild" ?
My aspx file:
ContorlParent.ascx:
ContolChild.ascx:
I am thankful for any help,
Mateusz Wajcowicz
I have my RadWindow defined in one ascx file for example "controlParent". Content of this window is another ascx file for example "controlChild". How can I close my RadWindow by asp:button in control "controlChild" ?
My aspx file:
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
/>
<
user:ContolParent
runat
=
"server"
ID
=
"cParent"
/>
ContorlParent.ascx:
<
telerik:RadWindow
ID
=
"selectorPopupWindow"
CssClass
=
"rad_window"
runat
=
"server"
Title
=
"Galeria multimediów"
Width
=
"950"
EnableEmbeddedSkins
=
"false"
Skin
=
"MSIT_sitefinityLocal"
Height
=
"600"
VisibleOnPageLoad
=
"false"
Behaviors
=
"Minimize, Move, Maximize, Close"
OffsetElementID
=
"RadGrid1"
>
<
ContentTemplate
>
<
user:ControlChild
runat
=
"server"
ID
=
"cChild"
/>
</
ContentTemplate
>
</
telerik:RadWindow
>
ContolChild.ascx:
Grids, TextBox etc.
<
asp:Button
runat
=
"server"
ID
=
"btnCancel"
Text
=
"Cancel"
/>
I am thankful for any help,
Mateusz Wajcowicz