Hi,
Here is what I have.
- XBAP application with WPF Browser control, hosted on Page1.xaml
- XBAP in Full Trust, certificate installed in client browser
- Once the XBAP loaded, the browser control is navigated to some third party site.
- We are using MVVM for XAML stuff
So, when a certain page is loaded, I attach click event handler to the input button with id="submit" on the html page displayed in the browser control (used the code similar to whats in this URL http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/a4f0e4d0-78bf-44c5-a3fe-8faf2e7a0568/). It works just fine as long as I dont make a wcf web service call in my ViewModel, before or after I attach this event hander. Idea is to invoke the click event for the html button and grab the data from the html page before calling the webservice to save data from the page.
Here is the issue:
When I make the wcf webservice call (sync or async, it doesnt matter) the html button click event doesnt happen but if I comment out the the code for wcf service call the click event of the html input of type button gets invoked.
Any help would be appreciated.
Thanks,
Salil