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
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 >>