We are using the RedEditor control to print letters from our ASP.NET application. We have a client side event on a Print button as follows:
When the user clicks the Print button, the print dialog appears and we can select the desired printer and print the letter (the HTML contents of the RadEditor control).
Is there a way to get the return codes from the Print Dialog via this "fire" command? We're trying to handle the case where the user has clicked Print to open the Print Dialog and then clicked Cancel on the dialog so that ultimately we can take further action (redirect appropriately, etc)
function
radButtonPrint_ClientClicked() {
var
editor = $find(
'radEditor'
);
editor.fire(
"Print"
);
}
When the user clicks the Print button, the print dialog appears and we can select the desired printer and print the letter (the HTML contents of the RadEditor control).
Is there a way to get the return codes from the Print Dialog via this "fire" command? We're trying to handle the case where the user has clicked Print to open the Print Dialog and then clicked Cancel on the dialog so that ultimately we can take further action (redirect appropriately, etc)