Hi All,
Could anyone help me in resolving this issue?
I have an Iframe on my aspx page and I want to insert a String value into that
through the code behind.I dont want to use the src attribute of the Iframe.
Thanks in advance.
Regards,
Vidds
George Ter-Saakov - 27 Jul 2007 16:30 GMT
If you do not want to use src then the only option is to use Javacript.
Let say your IFRAME has id="myframe"
then something like that should work
getElementByID("myframe").document.write('Hello world');
George
> Hi All,
>
[quoted text clipped - 8 lines]
> Regards,
> Vidds
bruce barker - 27 Jul 2007 16:30 GMT
this can be done with rendered javascript. set the src to a blank html
file (we used to use about but ie has a bug and causes a dialog with
https). set up a unload event handler to the iframe, then javascript can
update the dom in the frame.
-- bruce (sqlwork.com)
> Hi All,
>
[quoted text clipped - 6 lines]
> Regards,
> Vidds