You need to specify the ID attribute for the iframe as well as
runat="server".
Then create an instance of
System.Web.UI.HtmlControls.HtmlGenericControl matching the ID that you
specified for the element.
Then, use
[INSTANCE].Attributes ["src"] = myURL;
Where myURL is the URL to the page you want to load.
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Lubo¹ ©lapák" <lu**********@centrum.cz> wrote in message
news:uG**************@TK2MSFTNGP15.phx.gbl...
Hi,
I have a WebForm and in this WebForm i have IFRAME with name="obsah".
How can I from C# code load a page into this IFRAME?
Thanks Lubos