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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top