I am working on iframes in ASP.NET. Below is the HTMlL code for iframe:
<iframe id="mainiFrame" name="mainiFrame" scrolling="auto" frameborder="2"
height="400px" width="500px"
src=""
runat="server"></iframe>
I am able to set the source of the iframe:
protected void Button1_Click(object sender, EventArgs e)
{
mainiFrame.Attributes["src"] = "http://roboticsindia.com";
}
How do i get the HTML source code from the iFrame?
Regards, Anil