Products Technologies Demo Docs Blog Support Company

This blog post contains outdated information.

The cited code snippets may be workarounds, and be part of the official API in the meantime.

ASP.NET DocumentViewer Sample Online

In TX Text Control Server for ASP.NET (incl. Windows Forms) 15.0, we introduced the ASP.NET DocumentViewer. The DocumentViewer is a completely new server component in TX Text Control 15.0. It provides a very easy way to display the contents of a document, edit a template's form fields and to navigate around a document within a web browser. We just published a new live sample to our demo server that shows how to use the ASP.NET DocumentViewer to fill out forms. The ASP.NET DocumentViewer…

ASP.NET DocumentViewer Sample Online

In TX Text Control Server for ASP.NET (incl. Windows Forms) 15.0, we introduced the ASP.NET DocumentViewer. The DocumentViewer is a completely new server component in TX Text Control 15.0. It provides a very easy way to display the contents of a document, edit a template's form fields and to navigate around a document within a web browser.

Text Control

We just published a new live sample to our demo server that shows how to use the ASP.NET DocumentViewer to fill out forms.

The ASP.NET DocumentViewer implements two edit modes: ReadOnly and Edit.

The ReadOnly mode can be used to display all supported documents in an ASP.NET web site. You are able to navigate through all pages, as well as change the zoom factor. The ASP.NET DocumentViewer's API can be also used to load a document, set the current page number or to change the zoom factor. This enables you to create your own user interface, for example by providing your own tool or navigation-bar.

Internally, the DocumentViewer is based on the newly introduced Page Rendering Engine of TX Text Control Server for ASP.NET (incl. Windows Forms) which creates high quality, scalable images of each page of the document.

The new live demo shows a typical work-flow of a form. The form (in our case a US tax form) will be displayed to the user in the DocumentViewer. The form is an MS Word DOCX file including MS Word form fields of type FormText, FormDropDown and FormCheckBox. This being the case, you can use your legacy MS Word form templates with this new ASP.NET component.

The user is able to complete the form and click 'Submit form' to create a print-ready PDF server-side. Additionally, data that has already been added to the form can be saved as an XML data file on the local machine in order to complete the document later.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

ASP.NETDocument ViewerGitHub

Reporting: Styling the DocumentViewer for ASP.NET

TX Text Control .NET Server comes with the HTML5 based editor Web.TextControl and the cross-browser, cross-platform DocumentViewer component to view reports and documents. The DocumentViewer can…


ASP.NETASP.NET CoreDocument Viewer

High-Performance Text Replacement in Large DOCX Files using C# .NET

Learn how to efficiently replace text in large DOCX files using C# .NET and the ServerTextControl component from Text Control. This article demonstrates the performance benefits of using the…


ASP.NETASP.NET CoreDocument Viewer

Document Viewer 33.2.1 Released: New Event and Bug Fixes

This service pack includes important bug fixes and improvements to enhance the stability and performance of the Document Viewer. In addition, a new event has been introduced to provide developers…


AngularASP.NETBlazor

Building an ASP.NET Core Backend (Linux and Windows) for the Document Editor…

This article shows how to create a backend for the Document Editor and Viewer using ASP.NET Core. The backend can be hosted on Windows and Linux and can be used in Blazor, Angular, JavaScript, and…


ASP.NETBlazorASP.NET Core

TX Text Control Document Editor and Viewer for Blazor Released

We are very happy to announce the immediate availability of TX Text Control packages for Blazor. This article gives an overview of the available packages and how to use them.