OnClientImageChanging | RadImageEditor for ASP.NET AJAX Documentation
Edit this page


The OnClientImageChanging event is raised when the user initiates an action 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" OnClientImageChanging="OnClientImageChanging"></telerik:RadImageEditor>
<script type="text/javascript">
    function OnClientImageChanging(sender, eventArgs)
        alert("OnClientImageChanging 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