New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientSaving event is raised when the user starts saving the changes on the image. The event can be canceled.

The event handler receives the following parameters:

  1. The RadImageEditor client instance that fired the event.

  2. Event arguments object. You can cancel the event by calling its set_cancel(true) method

<telerik:RadImageEditor RenderMode="Lightweight" runat="server" ID="RadImageEditor1" OnClientSaving="OnClientSaving"></telerik:RadImageEditor>
<script type="text/javascript">
    function OnClientSaving(sender, eventArgs)
        alert("OnClientSaving event fired by RadImageEditor with ID: " + sender.get_id());
        eventArgs.set_cancel(true); //cancels the event

See Also

In this article
Not finding the help you need? Improve this article