[Mono-bugs] [Bug 445498] New: WebBrowser: Canceling in "Navigating" event doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 16 09:47:43 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=445498


           Summary: WebBrowser: Canceling in "Navigating" event doesn't work
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: apper at apper.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=252507)
 --> (https://bugzilla.novell.com/attachment.cgi?id=252507)
Test case

The Navigating event occurs before the WebBrowser is navigated to an address.
You get information with the WebBrowserNavigatingEventArgs. There is the
Property "Cancel". If you set this, the navigation is canceled (using MS.NET).
Using Mono, the Cancel property doesn't work at all.

The test case navigates to the mono-project website on startup. Setting
Cancel=true in the "Navigating" event should prevent this. Using MS.NET nothing
happens, using Mono the WebBrowser navigates to the website.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list