IE Hosted windows control in ASP.Net 2.0

Mar 27 2008 9:13 PM
Hi Friends,

 I am using windows control library and hosting windows form control on the web page.

 I was trying to host WebBrowser control on the page. I could host the same. But the WebBrowser control is not at all visible on the IE. If I try to find the location and size of the control on some button click, then it shows me all correct. But I dont have any clue why it is not visible on the IE. I tried all the properties of the WebBrowser control, but could not make it visible on IE.

 Also many times if I click on the button to know the size and location of the control or try to refresh the web browser control, it throws exception "Can not access disposed object, object name:'WebBrowser' ".
 
Can anyone suggest any solution for the same.

Thanks.