Web Viewer with JS
Posted: Mon Dec 28, 2015 10:23 am
Hello there,
I'm trying to update a StiWebViewer from Javascript, everything seems to go smoothly until it gives an error when I debug with Chrome at this line :
viewer.renderHtml("viewerContent");
The specific error is : "Uncaught Sys.FormatException: Sys.FormatException: Format specifier was invalid."
And the error comes from "ScriptResource.axd" I just can't figure out what it is exactly that I'm doing wrong since this is a generated minified script file.
I only know for sure that the error is provoked by the line I mentioned "viewer.renderHtml("viewerContent");" because It disappears if I remove this line.
Thanks for your time.
I'm trying to update a StiWebViewer from Javascript, everything seems to go smoothly until it gives an error when I debug with Chrome at this line :
viewer.renderHtml("viewerContent");
The specific error is : "Uncaught Sys.FormatException: Sys.FormatException: Format specifier was invalid."
And the error comes from "ScriptResource.axd" I just can't figure out what it is exactly that I'm doing wrong since this is a generated minified script file.
I only know for sure that the error is provoked by the line I mentioned "viewer.renderHtml("viewerContent");" because It disappears if I remove this line.
Thanks for your time.