From JavaScript
Documents can also be loaded from client-side JavaScript. This is typically used when documents are asynchronously created server-side using MailMerge and then loaded into the Document 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 32.0 SP4 (NuGet Version 32.4.0)
This demo loads a document using Ajax from an HttpGet method of the Controller in order to load the results into the viewer.
Sample Source Code
No code required.
© 2024 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.