Hi,
@Html.CreateViewerScriptLoadBlock().LoadJquery().LoadJqueryUi()
<div id=“documentPreviewWindow”></div>
@(Html.ViewerClientCode()
.TargetElementSelector("#documentPreviewWindow")
.Stream(Model.FileStream, Path.GetFileName(Model.UniqueFileName),
Path.GetExtension(Model.FileName).TrimStart('.'), Path.GetFileName(Model.FileName))
.ShowFolderBrowser(false)
.PreloadPagesCount(3)
.EnableRightClickMenu(false)
.ShowThumbnails(true)
.OpenThumbnails(false)
.Zoom(75)
.Width(Model.Width)
.Height(Model.Height)
.ShowDownload(Model.ShowDownloadButton)
.ShowPrint(Model.ShowPrintButton)
.Quality(75)
.SupportTextSelection(false)
.ShowSearch(false)
.UseHtmlBasedEngine(true)
.ShowOnePageInRow(true)
)
Does anyone have any thoughts or suggestions on how to get around this?