New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Telerik UI for ASP.NET MVC Editor Import and Export

Loading Demo...

Also available for:



This demo demonstrates how to import a file in Telerik UI for ASP.NET MVC Editor and how to export the Editor content. The import and export features internally rely on the Telerik Document Processing Library.

Telerik Document Processing is a bundle of UI-independent, cross-platform libraries enabling you to process the most commonly used flow, fixed and spreadsheet document formats. The components allow to create documents, import, modify and export them without external dependencies between the following different formats.

To enable the Import option in the Editor add the respective command in the Editor`s toolbar .Tools(tools => tools.Import()). By using the Import attribute you could configure the Proxy option or you could set the maximum file size and the allowed extensions of the imported file. You could import files with the following extensions through the Import option:

  • DOCX
  • RTF
  • HTML
  • TXT

To export the content include the corresponding command to the Editor’s toolbar .Tools(tools => tools.ExportAs()) and configure the export settings through the ExportAs attribute. For instance you should specify the Proxy option, which sets the Action to which the content will be submitted, or you can specify FileName attribute to set the name of the downloaded file.

  • DOCX
  • RTF
  • PDF
  • HTML
  • TXT
This Editor example is part of unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt andedit their theme appearance in their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources