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.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||Product Version:|
|2536||08/26/2014||08/28/2014||ASP.NET Web Forms (Classic)||RichTextEditor||126.96.36.199|
or the page will be automatically redirected to sign-in page in 10 seconds.