Add validation Before insert image to the texteditore and after click insert button in the image manger

0 Answers 60 Views
Editor
SAHAN
Top achievements
Rank 1
SAHAN asked on 09 Feb 2023, 05:39 AM

We need to add custom message saying upload image size is too big or not after click insert button in the image manager. I know there is a option to do it from clicking upload button but its not match for our requirement. 

Like the following image we need to executive custom function after click the insert button.

 

Rumen
Telerik team
commented on 09 Feb 2023, 11:22 AM

Hi Sahan,

You can try the OnClientPasteHtml client-side event which is fired when clicking the Insert Button.

Another approach is to customize the ImageManager.ascx dialog file - you can see and learn how to customize the build dialogs in this demo: Custom Dialogs.

No answers yet. Maybe you can help?

Tags
Editor
Asked by
SAHAN
Top achievements
Rank 1
Share this question
or