Free Support Forum - groupdocs.com

Example solution for Document Viewer 3.0


#1

Hi


we are using groupdocs viewer for asp.net.
Please share the example solution and all the procedure to take for migrating web application to viewer 3.x version.

Thanks,

#2

Hi


could it be possible for someone to share a sample example how to implement viewer 3.x
for asp.net.



#3

Hi Puneet,


Thank you for showing your interest in Groupdocs.Viewer 3.0.0.

If you are using an earlier version than version 3.0.0 for your web application then please visit this article to see the notable changes:
http://groupdocs.com/docs/display/viewernet/Migrating+to+GroupDocs.Viewer+3.0.0+or+Greater


Please find below some resources to quickly get started:

GroupDocs.Viewer Downloads: http://groupdocs.com/Community/files/8/.net-libraries/groupdocs_viewer_for_.net/category1002.aspx
GroupDocs.Viewer Docs: http://groupdocs.com/docs/display/viewernet
GroupDocs.Viewer Examples: https://github.com/groupdocsviewer/GroupDocs_Viewer_NET
GroupDocs.Viewer Videos: https://www.youtube.com/channel/UCgO8dwgI5KAsQCVegviVXYA/playlists

Thanks for your understanding and cooperation

Have a nice day!

#4

Hi

Please let us know how can we replace the below code
to display cached contain on specific div in version 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)


#5

Hi Puneet.


Thanks for your explanation.

The above examples shows our last version’s API. Which was released with a widget. The new API is not providing the front end handling capabilities.

Please note that the new GroupDocs.Viewer is a UI-less API exposing only UI-less+back end document rendering APIs in which object oriented approach has been implemented in a very simplified way.

Now user can implement his own front end and no need to be dependent on our API for front end functionalities. User can mold the out put of API according to his need.

The Api is very much simple to implement. You can be very much aware with API after visiting our helping material provided in the last post. However once again I am writing the links below.

GroupDocs.Viewer Downloads: http://groupdocs.com/Community/files/8/.net-libraries/groupdocs_viewer_for_.net/category1002.aspx
GroupDocs.Viewer Docs: http://groupdocs.com/docs/display/viewernet
GroupDocs.Viewer Examples: https://github.com/groupdocsviewer/GroupDocs_Viewer_NET
GroupDocs.Viewer Videos: https://www.youtube.com/channel/UCgO8dwgI5KAsQCVegviVXYA/playlists

Please feel free to ask any other question.

Thanks for your understanding and cooperation.


Warm Regards


#6

Hi


Thanks for enlighten about deprecation of API.
though we still want the same menu bar which is provided till the last version.
so please let us know how we could use/control legacy menu bar of groupdocs.
attach is the screenshot for more details.

we have found that your legacy solution in example are still using same menubar.
though we tried to implement that in asp.net but not getting any output.
Please share an example of your implementation of legacy UI in latest version for Asp.Net.

Thanks.


#7

attachment was not loaded correctly last time.

Please find attach.

#8

Hi Puneet,


Thank you for your requirements elaboration.

We are making up a sample Front end project for ASP.net users. In which we would try our best to cover up the best usage of GroupDocs.Viewer 3.0.0

Thanks in advance

#9

Hi

Thanks for your response.

Please share the sample front end project for ASP.net with you legacy front end.
if it is not ready yet, i would request you to please share the estimate duration to complete this.
it would be really helpful in sharing status with customer.

Also if possible please consider the memory stream example for retrieving file from database
as this could be one of the reason that some of our document not rendering well in our environment.
here’s the another thread against it in which you convince us to migrate to your next version.
http://groupdocs.com/Community/forums/2/11128/multiple-call-to-same-document-cause-timeout-exception/showthread.aspx

Thanks

#10

Hello Puneent,


Thank you for your response,

We have a plan to release the sample webform front end round about the 10th of March.

Also GroupDocs.Viewer is a generic API. It would work upon any stream or any file coming from any source either from remote location or stream from database. However, please make sure that the stream is correctly formatted. If you think that stream is correct but issue remains persistent then please come back to us.


Thanks for your understanding and cooperation

Happy Coding !


#11

Hi

Thanks for the response.
we are happy to hear that you are working on creating a sample implementation of ASP.net with legacy UI of Groupdocs.
Meanwhile we are also trying to progress on this.
Could you please explain how can i add below code to my asp.net application.

each time i run the code I am getting error of groupdocsViewer is undefined.
Please let me know what steps should we take to fix this issue.

Thanks

#12

Hi Puneet,


Thank you for your explanation,

Obviously! you cannot use the above code in ASP.Net web form application. The above code is a JQuery plugin code which was written for MVC application. To learn about the usage of the API please visit the following links (As I wrote in the previous posts)

GroupDocs.Viewer Downloads: http://groupdocs.com/Community/files/8/.net-libraries/groupdocs_viewer_for_.net/category1002.aspx
GroupDocs.Viewer Docs: http://groupdocs.com/docs/display/viewernet
GroupDocs.Viewer Examples: https://github.com/groupdocsviewer/GroupDocs_Viewer_NET
GroupDocs.Viewer Videos: https://www.youtube.com/channel/UCgO8dwgI5KAsQCVegviVXYA/playlists


Thanks for your understanding and cooperation.


Warm Regards


#13
Hi

Thanks for sharing the date of sample webform front end.
Just as a gentle reminder, the expectation from the sample is to have an implementation of your legacy front end in ASP.Net for the version 3.x

we are struggling with the following
1. Implementation of groupdocs toolbar and all its features.
2. Use of asynchronous page loading. earlier it was resolved by out of the box method .PreloadPagesCount(1)
3. Suggestion to enhance the performance during document loading. currently even with Version 3.x it is slower than expected.

It would be great if you share the example which has database as storage for document.

Thanks


#14

Hi Puneet,


Thank you for your explanation.

We are trying to develop Legacy front end using ASP.net Web forms. Hopefully this sample project would be beneficial for ASP.net WebForm developers.

Thanks for your understanding and cooperation.

Warm Regards


#15

Hi


Please Share any update on this.
we need to share some good progress with our customer.

Thanks.

#16

Hi Team Group docs,


Urgent.
We urgently require some update on development of legacy API for ASP.Net.

We need to feed some update to customer against this, as it is very high priority issue for our organization.

Please respond as soon as possible.

Thanks.


#17

Hi Puneet,


Thank you for your response,

We have uploaded the Web Form Front End at github.com. Kindly visit here to download this open source project

Thanks for your understanding and cooperation

Warm Regards

#18

Hello Puneet,


Thank you for your response,

We have uploaded the Asp.NET WebForm Front End at github.com. Please click here to view/download this open source project.

Happy Coding!



#19

Hi

Thanks for providing API.

we have moved a step ahead.
when I am trying to use groupDocsViewer, i am getting attached exception on JS.
Probably some reference is missing.
Please let me know how to fix this.


#20

Hi


I have come over this problem by removing existing references of Groupdocs from the application.
Document is rendering appropriately.

Please let me know how to use your existing API method named "PreLoadPageCount
"
We would required to implement that very urgently as we were facing issues with performance earlier.

Thanks