Hi ,
I want to download file as file format like (.docx)
It is working file with stream if DownloadPdfFileIfPossible(false) properties.
But It is not working with Streams
using this code
@(Html.ViewerClientCode()
.TargetElementSelector("#CtlGDThumbview")
.Streams(ViewBag.streamDefinitions, ViewBag.Filename)
.ZoomToFitWidth()
.ShowHeader(true)
.UseHtmlBasedEngine(true)
.UseInnerThumbnails()
.ShowDownload(true)
.ShowPrint(false)
.DownloadPdfFileIfPossible(false)
.ShowFolderBrowser(false)
)
Could you plz give me any solution asap.
Thanks
Jay