Document Viewer 31.2.2 RC1 Released with New Features
We have just released the first release candidate (RC) of the next version of the Document Viewer. This article lists the new features and improvements in this major release.

After a long development period and a 2-week sprint, we have just released the first release candidate (31.2.2 RC1) of the next version of the Document Viewer for ASP.NET and ASP.NET Core. This version is compatible with the latest version of TX Text Control .NET Server 31.0 SP2.
Installation
The RC1 version has been published as a NuGet package on nuget.org:
https://www.nuget.org/packages/TXTextControl.Web.DocumentViewer/31.2.2-RC.1
Since this package is listed as a pre-release, be sure to add it with the version number:
Install-Package TXTextControl.Web.DocumentViewer -Version 31.2.2-RC.1
If you are using the Package Manager, be sure to check Include prerelease and select the latest RC from the versions listed.
What is New?
The Document Viewer receives new features outside the major release cycle of TX Text Control. This means that even minor release numbers contain new features, improvements and bug fixes.
Web Component
Internally, version 31.2.2 is converted to a Web Component, but can also be added using the MVC HTML helper or the Angular component. The main advantage of this approach is that each instance of the web component uses an encapsulated shadow DOM with it's own style and markup. These are the main benefits:
- Create more than one instance of the DocumentViewer
- Style each instance individually
- Access each instance via JavaScript
Learn More
PDF.js Support
PDF.js is a JavaScript library maintained by Mozilla and other individual contributors. Version 31.2.2 introduces the option to enable external renderers such as PDF.js to provide the document rendering information.
It is possible to specify the location of PDF.js in the DocumentViewerSettings class through the DocumentLoadSettings. This allows you to specify which renderer should be used to render the loaded PDF document.
Learn More
Enabling External PDF Renderer PDF.js in TX Text Control DocumentViewer
More Features
Additional features version 31.2.2 includes are:
-
.NET compatible regular expressions
.NET compatible regular expressions for form field validation. -
Asynchronous zoom
Asynchronous page refreshing after zooming. -
Form field loading
Loading times for documents with form fields have been reduced drastically.
Stay tuned for further updates. The final release date is planned for April 2023, depending on the feedback from this RC phase.
ASP.NET
Integrate document processing into your applications to create documents such as PDFs and MS Word documents, including client-side document editing, viewing, and electronic signatures.
- Angular
- Blazor
- React
- JavaScript
- ASP.NET MVC, ASP.NET Core, and WebForms
Related Posts
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…
ASP.NETASP.NET CoreDocument Viewer
Document Viewer: Long Polling Support for Loading Documents
The Document Viewer now supports long polling for loading documents. This allows an asynchronous loading of documents and is especially useful for large documents or slow connections.
ASP.NETASP.NET CoreDocument Viewer
Use PDF.js to Render PDF Documents within the Document Viewer
With the release of the latest release candidate of the Document Viewer, we released the ability to use PDF.js to render PDF documents. This article shows how to use this new feature.
TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version
TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…