Why is it so hard to close a radWindow using a radButton? Both are Telerik controls and shouldn't it be simple?
It seems like the RadWindow couldn't be closed using conventional Javascript means like window.close(). I thought Telerik is supposed to make these things simple..
It seems like the RadWindow couldn't be closed using conventional Javascript means like window.close(). I thought Telerik is supposed to make these things simple..
<
script
type
=
"text/javascript"
language
=
"javascript"
>
function closeWindow() {
window.close();
}
</
script
>
<
td
align
=
"right"
width
=
"10%"
>
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Width
=
"80px"
Text
=
"Cancel"
AutoPostBack
=
"false"
OnClientClicked
=
"closeWindow"
></
telerik:RadButton
>
</
td
>