Documents can be loaded from client-side JavaScript as well. This is typically used when documents are asynchronously created server-side using MailMerge and then loaded into the DocumentViewer.

This demo loads a document using Ajax from an HttpGet method of the Controller in order to load the results into the viewer.

This demo uses the MVC version of TXTextControl.Web.MVC.DocumentViewer included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.

Version X19

No code required.

Next Sample

© 2021 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We documents.