We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Copy/Paste images in RTE?

You can copy or paste images in Rich Text Editor. In general, the local path is obtained by pasting images from local document. To display images, you can call the OnClientTextChange () function of RTE when you paste content from local documents. Using GetHtml () function, you can obtain the pasted content and extract the URL of the image, which is the local path referring the location in your drive. Send the URL to server side using Ajax post. In code behind, get the image from local reference and convert it to BMP image and store them in website location. On Ajax post success, get the image file names from post action and replace the existing URL with new location. This displays the images on copy paste to RTE.

ASPX

 

C#

 

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
2536 08/26/2014 08/28/2014 ASP.NET Web Forms (Classic) RichTextEditor 12.1.0.43
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon