Last active
July 13, 2022 11:50
-
-
Save bjoerntx/f9baf631bdb664873fb2f1c4b9dae9fb 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.DocumentServices.DocumentEditor; | |
@model List<DSServerMerge.Models.Report> | |
<div class="row"> | |
<div class="col-12"> | |
<input class="mb-3" type="button" onclick="mergeDocument()" value="Merge Template" /> | |
@Html.TXTextControl().DocumentEditor(s => { | |
s.Width = "100%"; | |
s.Height = "40rem"; | |
s.ServiceUrl = "https://trial.dsserver.io"; | |
s.OAuthSettings.ClientId = ""; | |
s.OAuthSettings.ClientSecret = ""; | |
s.JsonData = Newtonsoft.Json.JsonConvert.SerializeObject(Model); | |
}).Render() | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment