I tried that as my first suggestion, but it didn't work.
The serverside control has no src property.
It is possible to find the HTML src attribute by the Attributes collection,
but it is always set to empty string and it makes no difference to change it.
I tried everything: InnerText, InnerHTML, DataBind, etc.
I actually did all of this correct from the beginning.
The reason I did not get the expected result was that I had a couple of AJAX
UpdatePanels and the IFRAME was not covered by the UpdatePanel that was
changed .....
Sorry for that, and thanks again for your feedback!
Previously I used an empty HTML file or did manual wiping of the result.
The "about" solution is much more elegant!
Thanks!
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.