Documentation

Loading Documents From Controller

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 Web.TextControl included TX Text Control .NET Server for ASP.NET.

Next Sample

© 2019 Copyright Text Control GmbH. All rights reserved.