hi all im in the middle of a little project using the webbrowser control in visual studio 2010 and im having a hell of a time trying to find out how to capture a popup,

i can navigate to a web page and enter details (login details) but when this information is passed to the website it pops up all the content of members area in a new ie window and not within the webbrowser control so i do not have any control over it can anyone help me get the popup to appear in the same webbrowser control or even a different one on the same form?