Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am confused as everyone says I can still access an iframe using html windows so that I could access its body content.

//code for html window to access iframe and is not working
C#
HtmlWindow frame = webBrowser1.Document.GetElementById(VerifyimageFrame).Document.Window.Frames[VerifyimageFrame];



//code for htmlelement and its working
C#
HtmlElement frame = webBrowser1.Document.GetElementById(VerifyimageFrame);



Any suggestions?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900