Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
"server"
>
ConfirmTemplate
div
class
"rwDialogPopup radconfirm"
"rwDialogText"
{1}
</
a
onclick
"$find('{0}').close(true);"
"rwPopupButton"
href
"javascript:void(0);"
span
"rwOuterSpan"
><
"rwInnerSpan"
>##LOC[OK]##</
></
"$find('{0}').close(false);"
>##LOC[Cancel]##</
br
/>
input
type
"checkbox"
name
"{0}_checkbox"
id
/>Do not show this
message again
asp:Button
"btnSave"
Text
"Save"
OnClientClick
"ShowConfirm(); return false;"
"btnClearCookie"
"Clear cookie"
"ClearCookie(); return false;"
<script type=
"text/javascript"
function
ShowConfirm() {
var
showConfirm = getCookie(
"showConfirm"
);
if
(!showConfirm) {
msg = $find(
"<%=RadWindowManager1.ClientID %>"
).radconfirm(
"Are you sure you want to save your changes?"
, confirmCallBackFn, 350, 150,
null
,
"Save changes"
//focus OK button - otherwise, the newly added checkbox gets the focus
setTimeout(
() {
msg.get_contentElement().getElementsByTagName(
"A"
)[0].focus();
}, 0);
msg.add_beforeClose(
toShow = !($get(msg.get_id() +
"_checkbox"
).checked);
(!toShow) setCookie(
, toShow, 365);
});
}
confirmCallBackFn(arg) {
//implement save logic here
getCookie(c_name) {
i, x, y, ARRcookies = document.cookie.split(
";"
for
(i = 0; i < ARRcookies.length; i++) {
x = ARRcookies[i].substr(0, ARRcookies[i].indexOf(
"="
));
y = ARRcookies[i].substr(ARRcookies[i].indexOf(
) + 1);
x = x.replace(/^\s+|\s+$/g,
""
(x == c_name) {
return
unescape(y);
setCookie(c_name, value, exdays) {
exdate =
new
Date();
exdate.setDate(exdate.getDate() + exdays);
c_value = escape(value) + ((exdays ==
) ?
:
"; expires="
+ exdate.toUTCString());
document.cookie = c_name +
+ c_value;
ClearCookie() {
setCookie(
false
, -1)
</script>