Data Source from JavaScript

A data source is basically used to provide the data structure to design templates. It can be a complete data source of your actual data or an excerpt file that contains the hierarchical structure and some dummy data rows for preview purposes.

In this demo, an XML excerpt file is loaded to pre-fill the drop-down boxes.


  1. Click the Insert Merge Field drop-down and insert any field from the list of available merge fields.

  2. Click the Insert Merge Block drop-down and choose the product table.

  3. In the opened dialog, select name and price and confirm with OK.

  4. Confirm the opened dialog Limit Preview Data with OK.

  5. See the merge preview results and close the preview using the Close Preview button.

This demo uses the MVC version of Web.TextControl included TX Text Control .NET Server for ASP.NET.

Please wait while I am preparing your document...

No Controller code

Next Sample

© 2020 Copyright Text Control GmbH. All rights reserved.