Hello Barry,
I was under the impression that you are already using the error event of the ImageBrowser, thus you will need to add the just e.sender.dataSource.cancelChanges(); of the pasted sample code.
Otherwise you may use similar to the following code in order to hook to the ImageBrowser error event after it is shown via the Editor's insert image click:
$(".k-insertImage").click(function(e){
window.setTimeout(function(){
$(".k-imagebrowser").data("kendoImageBrowser").bind("change", function(e){
// Do something here
});
});
});
Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!