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

file format in Richtextbox save dialog

2 Answers 108 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Zhang
Top achievements
Rank 1
Zhang asked on 08 Dec 2011, 09:53 AM
when i using the richtextbox to save something to docx,the droplist on the dialog was nothing?can you tell me how to fix it; and also the open button was not response. Thank you very much!

2 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 12 Dec 2011, 06:34 PM
Hello Zhang,

RadRichTextBox uses FormatProviders in order to open and save documents in different file formats. They are separated in different assemblies as listed here and are loaded by MEF. SaveCommand and OpenDocumentCommand check the registered format providers just before showing the SaveFileDialog and OpenFileDialogs respectively.

Could you check if you have added references to the assemblies described in the second article? If you have and are still not able to use the format providers, the reason is probably that MEF has not been able to load the assemblies (e.g. this could happen if library caching is enabled). In that case, you can register the format providers manually as described here.

Regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Trude
Top achievements
Rank 2
answered on 21 Dec 2011, 10:49 AM
I had this problem also - in my case it was library caching that was the problem.
Tags
RichTextBox
Asked by
Zhang
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Trude
Top achievements
Rank 2
Share this question
or