Edit this page


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

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article