tags:

views:

209

answers:

1

i need to get the links in a page rendered in webbrowser control in C#.net. Problem is that i think the page uses Frames that's why i cant get any links from webbrowser. how can i access or see those frames in the webbrowser control?

+2  A: 

You could use the Frames property: webBrowser1.Document.Window.Frames

Darin Dimitrov
Note also that documents (and documents within frames) can contain iframes, which means that if the structure of the page you are parsing isn't known you would probably need to investigate this Frames property recursively.
Anders Fjeldstad