How to Assign the Context Menu to WebBrowser Control

Hi coders,

I am using VS.NET 2005, my application type is Device Application. In this my Form1 I placed the WebBrowser Control. I created one Context menu(with 3 menu items) for webBrowser Control. I added 

this.ContextMenu = this.myContextMenu;

my problem is  browser (default) context menu is displaying instead of my context menu.

I found that webBrowser control is not having

webBrowser1.ContextMenu Property.

I need compulsary context menu on webBrowser control. How to get this

any body any ideas,

help me appritiated.

 

 

 




Answer this question

How to Assign the Context Menu to WebBrowser Control

  • shanxx

    Hi Tim Gerken,

    Thx for the reply, I am very much searched regarding this. But finally got a satisfaction answer from you.

    Is there any other way to implement this means is there any third party controls available if yes plz tell me which one will supports this.

     

     

    bye

     



  • Ewaite

    Sorry for the self promotion, but my HTMLViewer can do it.

    http://www.intelliprog.com/netcf/htmlctl.html


  • Charl

    This is a limitation of the native implementation of the WebBrowser control which .NETCF wraps (PocketIE). There is a bug in their database to consider fixing in a future release.

  • How to Assign the Context Menu to WebBrowser Control