I have a form displayed. User clicks a button, answers a question, and clicks OK. This should open a Wisej.Web.Page in a second browser tab.
This is the code executed in the OK_click event:
string url = “inspections/insptemplate?feename=permit”;
this.Eval($@”
var link = document.createElement(‘a’);
link.href = ‘{url}’;
link.target = ‘_blank’;
link.style.display = ‘none’;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
“);
but browser seems to be looking for html file?
How do I do this?