Created
November 16, 2023 14:12
-
-
Save bjoerntx/1c89fce513535c13ac0fc5ab694f411d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using TXTextControl.Web.MVC | |
@Html.TXTextControl().TextControl().Render() | |
<input type="button" onclick="loadDocument()" value="Generate Document" /> | |
@section Scripts { | |
<script> | |
function loadDocument() { | |
$.get('@Url.Action("LoadDocument")', function (data) { | |
TXTextControl.loadDocument(TXTextControl.StreamType.InternalUnicodeFormat, data); | |
}); | |
} | |
</script> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment