All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadButton
ID
=
"RadButton1"
runat
"server"
AutoPostBack
"false"
Text
"Open RadWindow"
OnClientClicked
"OnClientClicked"
>
</
telerik:RadWindow
"RadWindow1"
OnClientBeforeClose
"OnClientBeforeClose"
ContentTemplate
telerik:RadDatePicker
"RadDatePicker1"
<script type=
"text/javascript"
function
OnClientClicked(sender, args) {
var
RadWindow1 = $find(
'<%=RadWindow1.ClientID %>'
);
RadWindow1.show();
}
OnClientBeforeClose(sender, args) {
args.set_cancel(!confirm(
"Are you sure you want to close this window"
));
</script>