I’m using blazor server side and core.
On my razor page I have this code in the “code” section.
enter image description here
I have a code behind file that contains:
enter image description here
I have a code behind file that contains:
I use this same code in other projects and they run without fail. When I call print in this application, I get this exception:
enter image description here
Anyone have a suggestion as to what this issue might be. The only difference between this app and the other apps that run it is the htmlcontent. I checked for malformed html by replace the string with the htmlcontent from another working application, but it still fails.
Googled for a answer but didn’t find anything.
I replaced the HTML content being sent with HTML content from a working application and it still failed.
james_t is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.