Hello Telerik team,
I have Delete logic on server side & want to use radconfirm. Prompt me how I can turn from java script method RadListBox1Deleted!
I have Delete logic on server side & want to use radconfirm. Prompt me how I can turn from java script method RadListBox1Deleted!
function
RadListBox1Deleting(sender, arg) {
var
callBackFunction = Function.createDelegate(sender,
function
(shouldSubmit) {
if
(shouldSubmit) {
// call server side RadListBox1Deleted
}
});
var
text =
"Are you sure you want to delete?"
;
radconfirm(text, callBackFunction, 300, 100,
null
,
"Deleting"
);
arg.set_cancel(
true
);
}