We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with arrow keys in TreeViewAdv hosted in VS.NET 2003 Addin

Thread ID:





14763 Jun 3,2004 06:59 PM UTC Jun 3,2004 09:59 PM UTC WinForms 2
Tags: Tools
Hugues Valois
Asked On June 3, 2004 06:59 PM UTC

I am using VSUserControlHost to host a UserControl in my Addin. The UserControl contains a TreeViewAdv control. I am experiencing 2 problems related to arrow keys and TreeViewAdv: 1. Left and up arrow keys work to navigate the treeview. Right and down arrow keys DON''T work, they make the selection disappear and/or hang VS.NET. 2. I have a context menu associated with the TreeViewAdv, and I can''t use arrow keys to navigate the context menu. The arrow keys only end up moving the selection in the tree view underneath the context menu. I use the Syncfusion PopupMenu and PopupMenusManager. I am using Syncfusion Essential Suite and Visual Studio .NET 2003. I verified that an earlier version of our product which used Syncfusion and TreeView (instead of TreeViewAdv) did not have those problems. hugues

Administrator [Syncfusion]
Replied On June 3, 2004 09:19 PM UTC

Hi Hugues, I have created a test sample as per your specifications and tested for the above mentioned issues. These are my observations : 1. The sample worked fine and I could not observe any issues with it. The TreeViewAdv could be navigated using the up/down, and collapsed/expanded using the left/right arrow keys. 2. The PopupMenu associated with the TreeViewAdv too worked fine. I could navigate through the BarItems in the PopupMenu using the up/down arrow keys. Please refer to the test sample attached here and let me know if I have understood your problem correctly. If not, kindly modify the sample to show the problem and send it back to us so that we could take a look at it. We appreciate your cooperation, and thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Hugues Valois
Replied On June 3, 2004 09:59 PM UTC

Thanks for your response. In the context of a standard windows forms application, everything works perfectly. Where I am seeing a problem is when I use the UserControl in the implementation of my Visual Studio Addin Tool window. My control is hosted by the VSUserControlHost shim, which is the only ''supported'' way of creating VS.NET tool windows using .NET controls. I have had a few problems in the past with XP Toolbars and menus when used in that same context, and you guys were able to fix them. Let me know if you need more info. thanks, hugues


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon