Don't think you can extend the control site to add IProtectFocus to the site. Try interop the Windows Forms version of the webbrowser control and override the CreateWebBrowserSiteBase method to provide your own control site.
Up vote 0 down vote favorite share g+ share fb share tw.
My WPF app has a window with various text boxes and a WebBrowser control. The WebBrower control is used to show a web site (I doesn't own) and then a Login button in the WPF window fills the fields in the site from the text boxes. The problem is that the web site calls focus() method on one of its input fields on load, and that still the focus from the text box in my WPF window.
I want the focus to be on the WPF window field and not in the web page within the WebBrowser control. I tryed calling MyTextBox.Focus() in the WebBrowser's LoadCompleted event, but to no avail. Setting the WebBrowser's IsEnabled or even Visibility properties didn't help either.
Does anyone have an idea how I can overcome this and move the focus to the WPF control instead of the web page input field? Wpf focus webbrowser-control link|improve this question asked Oct 1 '10 at 9:13splintor1,0911026 63% accept rate.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.