![]() |
Why doesn't this call back function get called?
Why doesn't this call back function get called?
Basically here is the code surrounding the declaratoini callback method: Code:
webbrowser1 = new WebBrowser();The method, webbrowser1_LoadCompleted, is never called. I have put breakpoints in the callback method and the running program never reaches this method: Code:
void webbrowser1_LoadCompleted(object sender, NavigationEventArgs e) |
Re: Why doesn't this call back function get called?
Uhm, this is XNA…? What are you doing?
|
Re: Why doesn't this call back function get called?
No, it is C# on a WPF application.
I have issues with the C# WebBrowser class I have a C# WPF application which uses a WebBrowser class. I have overwritten the LoadComplete method. The question I have is this. This method is supposed to be triggered when the class has completed a load, but , when I put a breakpoint on this method, it is called before the class visually has compleded a load. Because of this, the htmldata is not complete. Any ideas? Maybe there is a different method I should overide. LoadComplete might not be the best choice. Maybe there is something that is the same as a "display complete". |
Re: Why doesn't this call back function get called?
Hmm… have you tried registering to the DocumentCompleted event instead of LoadCompleted?
|
| All times are GMT -8. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.