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

Export RadEditor without redirecting to or opening a new page

How-To

Export RadEditor without redirecting to or opening a new page

Description

Can I export without redirecting or opening a new page when exporting RadEditor content to PDF, DOCX, or RTF format?

Solution

To prevent the browser to load the exported file in the browser page, cancel the RadEditor1_ExportContent event with e.Cancel = True as shown in the provided code snippet in Example 2:

export without save dialog

Aslo you can stop the "Save As" pop up window by setting the OpenInNewWindow property to false, e.g.

/telerik:RadEditor

See Also

In this article
Not finding the help you need? Improve this article