IFrame Control

  • Thread starter Thread starter Jim M
  • Start date Start date
J

Jim M

There does not seem to be a way to add an iFrame control to an ASPX page. I
get the error that iframe is not allowed in the scema.

Is there another control that will allow me to display an HTML page inside
an ASPX page? Maybe a work around?

Thanks in advance.
 
You should be able to use iframe. Try something like this.

<IFrame id="frame1" runat="server" width="600" height="345" frameborder="0">

in your code dim frame1 as htmlgenericcontrol

frame1.attributes("src") = http://your.site.com/page
for example

but I have to warn you that iframe is a pain when it comes to cookies being
blocked if your frame is from another site.
 
Back
Top