Re: Error reading the number of frame in a HTML page using WebBrowser class

Stifu <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Please file a bug report.
http://mono-project.com/Bugs#How_to_make_a_good_bug_report


maurizio.regoli wrote:
> 
> Hi,
>  I'm try to get the number of frame in a HTML page using WebBrowser class
> running on Mono. For example, if I try to navigate in
> http://localhost/index.html where
> 
> index.html source code
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
> <title>Test Page</title>
> </head>
> <frameset cols="175,*" bordercolor="white" border="0" framespacing="0"
> frameborder="NO">
> <frame src="index04_02.html" name="Menu" scrolling="NO" noresize>
> <frame src="index04_04.html" name="body" noresize>
> <noframes>
> <body bgcolor="white">
> </body>
> </noframes>
> </frameset>
> </html> 
> 
> index04_02.html source code
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
> <title>remote IU</title>
> </head>
> <body link="#0033ff" vlink="#0033ff" alink="red" bgcolor="#ccccff" >
> 
> Admin
> 
> </body>
> </html> 
> 
> index04_04.html source code
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
> <title>remote IU</title>
> </head>
> <body link="#0033ff" vlink="#0033ff" alink="red" bgcolor="#ccccff" >
> 
> User
> 
> </body>
> </html> 
> 
> the
> this.webBrowser1.Document.Window.Frames["Menu"].Document.Window.Frames.Count
> property return 2.
> The same piece of code under .NET return the correct value.
> 
> Please, help me!!!!
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Error-reading-the-number-of-frame-in-a-HTML-page-using-WebBrowser-class-tp2316472p2316519.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.