Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,
how i can enable open in new tab in context menu webbrowser control .
i make a webbrowser program by multi tab and just problem is enable open in new tab please help me.
Posted

1 solution

Check this answer Enabling “Open In New Tab” item in WebBrowser's context menu?[^], which says...
Quote:

The WebBrowser control does not support multi-tab navigation. You'll have to create your own tabs (for example, using the TabControl control) which would contain instances of WebBrowser. There are great explanations on how it could be implemented here, there and there.



Then, you'll need to customize the context menu of your WebBrowser by adding the "Open In New Tab" action. That action will trigger your own implementation of multi-tab navigation. To customize the context menu, check this article: How to customize the WebBrowser context menu in C# WebBrowser Customization.

 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900