Is it possible to enable the “Open In New Tab” context menu item in a WebBrowser? Then I’ll figure out how to handle it, but first I need to make it at least look enabled.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.