Presenter not init before OnLoad w/ WebBrowser

Topics: CAB & Smart Client Software Factory
Oct 3, 2006 at 7:21 AM
originally posted by: BobPace

We have noticed a bit of odd behavior when you drop a WebBrowser control onto a view.

If you put a breakpoint inside the following code block in the View, for some reason it doesn't get hit before the call to OnLoad when you have a WebBrowser control on the view. If you take the WebBrowser control off, it gets hit before it just fine.

public DependantsInformationViewPresenter Presenter
_presenter = value;
_presenter.View = this;

This causes the _presenter to be null when the OnLoad is called.

Weird huh?

You can reproduce this by just dropping a WebBrowser Control onto a view and then trying to show the view in a workspace.

This is the only control that we have noticed this kind of behavior with so far.

Is this a known bug?
Feb 23, 2007 at 7:12 PM
We have noticed the same behavior. Have you managed to come up with a solution?