Programmatic Load of doc from Library

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    May 2009

    Posted 07 May 2009 Link to this post

    I need to programmatically load a doc from library.
    Know how to get byte[] or doc url but do not know how to load into RadEditor.
    Selection of document to load is external of RadEditor and determined in the code.
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 08 May 2009 Link to this post

    Hi John,

    On the client side you can use the PasteHtml method of the editor. You can find more information in the following help article http://www.telerik.com/help/aspnet/editor/pastehtml.html.

    Also you can review the following help article Getting / Setting Content.

    What you should know that since you are using the lite version of RadEditor for MOSS you can put your javascript code in the respective MOSSEditorTools.js file.

    I hope this helps.


    Best wishes,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

Back to Top