DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

Working with frames in dot net browser.

By: rekha singh | 19 Mar 2010 2:29 pm

 Hello,

I am developing Window Forms C# application. This particular task requires me to navigate to a specific URL. When I arrive there document is a frames set of two frames. Both frame contain HTML document and for the purpose of this example let's say they called: frame1.src = test1.html and frame2.src = test2.html

I need to change properties and invoke methods in both test1 and test2.

Surely I can navigate sequentially to each document and thus make the necessary changes. But this is very inefficient and involves programming Document_Completed method.

I would prefer to access test1.html and test2.html like in javascript

Frames[0].window. document. etc...

Is there a way to accomplish this by using web browser control?

Thank you 

Comments

No Comments Posted for this Article.

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move