Can you put a web page window on a form?
Posted: 07 Mar 2018
Hello,
The answer is probably no, but... I have a form that I want to display the contents of a web page (based on the customer id in the form).
I found a promising entry on previewing PDF's and attempted to use the HTML control to embed the website, but it's not working.
Is this even possible? Thanks!
HTML code:
<p><iframe name="preview_frame" id="preview_frame" src="about:blank" frameborder="1" scrolling="yes" height="500" width="800"></iframe></p>
Javascript Code: (I plan to make the '199' a variable if I can)
var url ='http://sql1/ReportServer/Pages/ReportVi ... ctorID=199';
$('#preview_frame').prop('src', url);
The answer is probably no, but... I have a form that I want to display the contents of a web page (based on the customer id in the form).
I found a promising entry on previewing PDF's and attempted to use the HTML control to embed the website, but it's not working.
Is this even possible? Thanks!
HTML code:
<p><iframe name="preview_frame" id="preview_frame" src="about:blank" frameborder="1" scrolling="yes" height="500" width="800"></iframe></p>
Javascript Code: (I plan to make the '199' a variable if I can)
var url ='http://sql1/ReportServer/Pages/ReportVi ... ctorID=199';
$('#preview_frame').prop('src', url);