Using RadEditor to post messages with images/media /documents without uploading them to the server befor clicking the submit button

2 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 01 Dec 2011 Link to this post


    I need to use the raeditor control in order to post a messages within forum. As you know some of the forum messages could contain images, documents, media or other components.
    I know how to use the ImageManger, DocumentManger ... dialogs in order to upload that components. But the problem is that these components must be uploaded to the server even before clicking the submit button in order to insert them the content area.

    How can I post the forum messages with the diffrent components I mentioned above without uploading to the server until I click the submit button?

  2. Rumen
    Rumen avatar
    14462 posts

    Posted 02 Dec 2011 Link to this post

    Hello Bader,

    This functionality is not supported by RadEditor, because it is not possible to access files that reside on the client machine with JavaScript. This operation is forbidden by the browser JavaScript engine.

    If the files are already uploaded on another server and accessible through URLs you can use the Insert Image and Insert External Video tools to embed them in the editor.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top