Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created February 4, 2022 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/ade5d59b2fed174536f60bcee7e50430 to your computer and use it in GitHub Desktop.
Save bjoerntx/ade5d59b2fed174536f60bcee7e50430 to your computer and use it in GitHub Desktop.
@Html.TXTextControl().DocumentViewer(settings => {
settings.DocumentPath = "App_Data/nda.tx";
settings.Dock = DocumentViewerSettings.DockStyle.Fill;
settings.SignatureSettings = new SignatureSettings() {
RedirectUrlAfterSignature = this.Url.Action(
"HandleSignature",
"Home",
new { securityToken = "1234" },
Context.Request.Scheme,
null),
ShowSignatureBar = true,
SignerName = "Tim Typer",
UniqueId = "1234-1234-1234-1234"
};
}).Render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment