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

[Solved] Open file Dialogue in RadEditor

3 Answers 207 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Roberto Yudice
Top achievements
Rank 1
Roberto Yudice asked on 15 Mar 2010, 09:59 PM
Is there any way to implement an OpenFileDialogue in RadEditor? if you could point to a tutorial that would be great. I was surprised it is not included in the integrated dialogues since it's so an obvious functionality for an editor, or may be I havnt found it.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Mar 2010, 01:32 PM
Hi Roberto,

This feature is offered by the File Browser dialogs of RadEditor which you can test in the following demo: File Managers.


Regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Roberto Yudice
Top achievements
Rank 1
answered on 16 Mar 2010, 01:47 PM
Thank you for your reponse! I was aware of that feature but what I'm looking for is a way to show a dialogue in which users are able to open a file and load it in the editor, as far as I know those file managers are for inserting documents in the rad editor, is there a way to modify one so that it loads the document in the editor instead of inserting  it as link?
0
Rumen
Telerik team
answered on 16 Mar 2010, 02:05 PM
Hello Roberto,

What kind of a document you would like to insert in the editor's content area. The content area could load only HTML content and for example the Template Manager does not insert a link, but the content of the selected HTML document.

You cannot directly load a Word document in the editor, because the DOC / DOCX content should be firstly converted to valid HTML / XHTML content.

If you would like you can edit the content pasted by the dialogs in the OnClientPasteHtml event or directly modify the built-in dialogs.

Another approach is to create your own custom dialog that will offer the requested functionality.

Kind regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Roberto Yudice
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Roberto Yudice
Top achievements
Rank 1
Share this question
or