Using IFRAME with .NET

  • Thread starter Thread starter Marcel Balcarek
  • Start date Start date
You can just include an iframe in your page declaratively. If you need to
work with it programmatically, you can use the HtmlGenericControl class.
 
Thanks Chris and Bruce Barker : here is the code

HtmlGenericControl iframe = new HtmlGenericControl("iframe");
iframe.ID = "Id1"

iframe.Style.Add("FONT-SIZE", "11px") etc

Controls.Add(iframe);

Marcel
 
Back
Top