IFRAME reference in code-behind?

A

Andreas Heusler

Is it possible, in code-behind, to get a handle to an IFRAME on an aspx
page, so the IFRAME's src property can be set by server-side code?
Thanks
AH
 
A

ashish

i dont think thats possible but you could inject the whole iframe html
from behind...
 
J

JV

Haven't specifically tried an IFrame, but it should be possible to access
any HTML object/tag in your document as long as you mark that tag with
RUNAT=SERVER
 
G

Guest

I did something similar to this using a Literal control, the literal will
contain all the iframe html code. You can modify the literal's output from
the code behind before the page renders.
 

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

Top