Skip to main content

GridViewExtension.WriteRtfToResponse(GridViewSettings, Object, Boolean) Method

OBSOLETE

Use the ExportToRtf method instead.

Exports data to a file in RTF format and writes it to the Response in binary format.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

[Obsolete("Use the ExportToRtf method instead.", true)]
public static void WriteRtfToResponse(
    GridViewSettings settings,
    object dataObject,
    bool saveAsFile
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
saveAsFile Boolean

Remarks

DevExpress controls require the DevExpress.RichEdit.v23.2.Export.dll library to export their content to DOCX or RTF format.

See Also