IdOfIframe = "something"
and I get "IdOfIframe not declared"
If I set the iframe to be runat="server" I get "src is not a member of System.Web.UI.HTMLControls.HTMLGenericControl"
How do I get round this?
Thanks
JohnHow did you assigning the src property of the iframe? I would think you could do the following:
ctlGeneric.Attributes("src") = "SomeURL"
HTH.
Yes, I've been struggling with this problem for sometime, but from your code, I've managed to make it work. Heres what I did:
NameofIFrame.Attributes.Add("src", "Link");
HTH
0 comments:
Post a Comment