Viewer.ClientCode()

We tried the newer version example that the support team send us for the ASP.Net Web form. Unfortunately, the controls are way more complicated to integrate into a solution compare to the version of GroupDocs.Viewer for .NET 2.15.1 from august 2015, I tested before.

In the GroupDocs.Viewer for .NET 2.15.1 from august 2015 version, only a few line could be used to be integrated on the web page as:

<%=Viewer.CreateScriptLoadBlock().LoadJquery(true).LoadJqueryUi(true).UseHttpHandlers()%>

<%= Viewer.ClientCode()

.TargetElementSelector("#viewer")

.Stream(this.ByteStream, this.Filename, this.Extension, this.Filename)

.UseHtmlBasedEngine(this.Mode)

.UseInnerThumbnails(false).OpenThumbnails(false)

.SupportPageRotation()

%>

From there I only needed a few line of code from the server side and your product worked perfectly.

Is there any way to use the same approach with your newest version ?

If so we might be interested to going forth with your product, otherwise we will have to find alternative to our problem.

Regards,

Pierre

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman",serif;}

<![endif]–>

Hi Pierre,


Thanks for taking interest in GroupDocs.Viewer for .NET.

The next generation GroupDocs.Viewer for .NET (starting version 3.0) is different from the earlier versions. The front end UI has been disintegrated from the back-end API and it is now a back-end document processing API that renders the documents into HTML pages and images. These rendered HTML pages and images can be viewed using the front end application. Therefore, the API has become more flexible to be used with a wide range of applications.

We have also made the front end UI applications open sourced and you will have to do even more less efforts to configure the application at your end. Also, you are free to develop your customized front end applications or use our open source document viewer applications. Just download the applications from the below links, add the reference of GroupDocs.Viewer for .NET and start using.


In case you want to develop your own front end application using next generation GroupDocs.Viewer for .NET, we have developed a sample application which is mentioned below.


Following are some useful resources for you to quickly get started with the latest GroupDocs.Viewer for .NET.


If you would have any confusions or more questions, please feel free to let us know.

Warm Regards