Free Support Forum - groupdocs.com

Viewer 3.X for ASP.Net Implementation


#1

Hi


I am using your sample example to use Viewer for ASP.Net.
https://github.com/groupdocsviewer/GroupDocs_Viewer_NET/tree/master/Showcases/WebForm_Front_End

I am able to render document properly on my local host via using your below application path hardcoded (provided from sample).

when I try to deploy this solution on my server it is not working for me, neither rendering nor any exception.
Please suggest how to define applicationPath for the viewer.

hope it’s explanatory enough, if some more details require please list down in your response.

Also please suggest an equivalent attributes for you deprecated Viewer class.
below is the example I was using prior to 3.X

Viewer.ClientCode()
.TargetElementSelector("#divDocumentViewer")
.Stream(this.fileStream,this.attachmentFileName,this.fileExtention)
.EnableRightClickMenu(true)
.ShowThumbnails(true)
.OpenThumbnails(false)
.ShowPrint(false)
.Zoom(75)
.Height(500)
.ZoomToFitWidth(true)
.Locale(“en-US”)
.BackgroundColor("#00005C")
.ShowFolderBrowser(false)
.ShowPaging(true)
.ShowDownload(false)
.ShowSearch(true)
.PreloadPagesCount(1)
.UseHtmlBasedEngine(true)
.EnableStandardErrorHandling(true)
.MinimumImageWidth(50)


we require exactly same attributes in 3.X.
Please also let us know clearly if something is deprecated from your side with latest version.

Thanks


#2

Hi


Please some one update us on above query as soon as possible.

Thanks

#3

Please also share the implementation of thumbnail.

we have used below code from your sample example.
$(function () {
$(’#divDocumentViewer’).groupdocsViewer({
filePath: ‘candy.pdf’,
zoomToFitWidth: true,
showFolderBrowser: true,
showHeader: true,
showPaging: true,
showThumbnails: true,
useHtmlThumbnails: true,
width: 650,
height: 900,
watermarkPosition: ‘Diagonal’,
watermarkText: ‘umar’,
watermarkWidth: 7,
IsPrintable: true,
useHtmlBasedEngine: true,

showDownload: true,
downloadPdfFile: true,

showPrint: true,
usePdfPrinting: true
});
});

It looks like thumbnail showing only loading icon but not get load at all.
could someone please look into these queries with priority.

Thanks

#4

Hello Puneet,


Thank you for your query,

Your status is showing that you have no subscription. Can you create a new thread with this issue by using a paid account?

Thanks in advance

#5

Hi Muhammad,


This customer works on behalf of a paid customer, please treat their requests like you would a paid customer.

Many thanks

John

#6

Hi John,


Well, I am going to log this issue in our issue tracking system. Once there is any further update, I’ll notify via this forum thread.

Thank you.

#7

Hi Umar,


Please suggest syntex for using the following in Viewer

1. Search: Search box/Search backwork/Search Forward.
2. Zoom: Zoom in/Zoom Out/Zoom Level.
2. View Mode: Scroll View/One Page in Row/Two Pages in Row/Cover then Two Pages in Row

attach is the screen shot of details required

we are currently using viewer setting as
$(function () {
$(’#divDocumentViewer’).groupdocsViewer({
filePath: fileName,
zoomToFitWidth: true,
showFolderBrowser: true,
showHeader: true,
showPaging: true,
width: 850,
height: 900,
showThumbnails: true,
useHtmlThumbnails: true,
useHtmlBasedEngine: true,
showDownload: true,
downloadPdfFile: false,
showPrint: true,
usePdfPrinting: false
});
});
keen to hear from you.

Thanks

#8

Hi Umar


we have achieved almost everything. though we are missing by View Mode only.
so please share the view mode implementation and how can we select any of the option from that by default.

Thanks

#9

Hi Puneet,


We are working on to provide the documentation of JS/Jquery usage. We will announce and publish that asap.


Thanks in advance