Free Support Forum - groupdocs.com

Document viewer API for .NET issues

Dears,

we upgraded GroupDocs to latest version 16.10 but we have an immediate issues/concerns :

1- Can GroupDocs viewer open a list of files when supplied as streams?

Dependency: Downloading all files as one PDF file is not available anymore

2- Trying to open the same file more than once results in an error.

The error seems to be an accessibility issue regarding accessing a file that is already in use. Closing the tab containing the aspx page does not release the document.

3- Clicking the print button inside the GroupDocs viewer doesn’t seem to do anything.

4- Where can we find documentation for the GroupDocs APIs and the related JavaScript functions controlling those APIs?

5- The project “GroupDocs.Viewer.WebForms.FrontEnd” which uses an aspx page, does not seem to allow responsive sizing of the viewer, hardcoded pixels must be used or errors occur.

6- Will we be able to build a responsive front-end application using GroupDocs APIs?

The example “New Front End Powered by GroupDocs.Viewer” seems to be using Aspose.Net functions instead of GroupDocs.


I appreciate if you can help us to solve our issue.

regards,

Hi Fhaddad,


Thanks for using GroupDocs.Viewer for .NET.

First of all, we want you to know that next generation GroupDocs.Viewer for .NET (starting from version 3.0.0) is a back-end document processing API that renders supported file formats into HTML pages or images. These HTML pages and images can be viewed using some front end application. The notable thing is that the front end UI has been disintegrated from the back-end API and thus, the API is now UI independent. Therefore, users are free to develop their own front end applications or use our open source document viewer applications.


1- Can GroupDocs viewer open a list of files when supplied as streams?

Yes, you can use list of the file streams as input to render the documents. Please visit Working with Streams in which a single stream object is used. You can iterate through the list of streams to render each into desired format (HTML or image).


2- Trying to open the same file more than once results in an error.

Can you please tell us whether are you getting this issue in any of our open source document viewer applications? If yes, then please mention the name of the application.


3- Clicking the print button inside the GroupDocs viewer doesn’t seem to do anything.

Please mention the name of the application in which you are getting this issue.


4- Where can we find documentation for the GroupDocs APIs and the related JavaScript functions controlling those APIs?

As I mentioned earlier, the back-end GroupDocs.Viewer for .NET is independent of any front end UI or JavaScript. The JavaScript/jQuery in our open source applications are used just to create the front end UI to view the HTML pages or images which are rendered using the back-end API. Therefore, JavaScript functions are not the part of the API and hence, there is no documentation available related to it.


5- The project “GroupDocs.Viewer.WebForms.FrontEnd” which uses an aspx page, does not seem to allow responsive sizing of the viewer, hardcoded pixels must be used or errors occur.

ASP.NET_WebForm_Front_End does not support responsiveness. However, as the application is open source, you can modify it as per your requirements. Furthermore, responsive viewer is implemented in ASP.NET_MVC_Front_End. You can download and try this application.


6- Will we be able to build a responsive front-end application using GroupDocs APIs?

As I mentioned that GroupDocs.Viewer for .NET is back-end API and it is independent of front end UI. Therefore, it is possible for you to create responsive front end application.


The example “New Front End Powered by GroupDocs.Viewer” seems to be using Aspose.Net functions instead of GroupDocs.

New Front End does not use Aspose APIs directly. However, back-end GroupDocs.Viewer for .NET uses methods from Aspose APIs.

We shall be looking forward to your response.
Warm Regards