I have a standard ASP.NET web form in a web page, and this page is hosted in a .NET Winform with a WebBrowser Control. Using c# how do I control the WebBrowser Control to submit the ASP.NET form? (eg somehow “clicking” on the button from the Winform?)
Update: to complicate things we have the ASP.NET validators which seem to make simple document.forms(0).submit() not work
Because of the complication of the ASP.NET validators somehow messing with the normal form.submit() flow the submit button’s click method had to be called: