This is a migrated thread and some comments may be shown as answers.

Programmatic Load of doc from Library

1 Answer 31 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 07 May 2009, 08:05 PM
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.

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 08 May 2009, 11:40 AM
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.
Tags
WebParts for SharePoint
Asked by
John
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or