There are use-cases, a document should be loaded from a controller method. Consider a document that is prepared server-side by populating merge fields with data. This document should be loaded then into the editor using a controller method called asynchronously using JavaScript.

This sample loads a document from a file located in the App_Data folder server-side.

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

Version X18 SP3

No code required.

Next Sample

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