Hi I'm writing an application in which I use a left side menu for user navigation.
I inititally decided to use the TreeView component as a menu as it seemed to already possess the needed properties for a menu; possibility to add menu items (roots) and even sub menu items (children) as well as events for handling node clicks etc.
However for some reason I can't explain the TreeView is giving me a lot of trouble. For example it displays menu items incorrectly, that is some items are not displayed fully even though theres a lot of width left. I'm pre-adding roots and children through the VS2012 designer and the Nodes property. I haven't tried programmatically as the menu I'm working on is static, adn it thus seemed unnecessary. But I wouldnt think that it should make any difference whatsoever.
So I'm basically either looking for a way to make it work as intended with the TreeView or even better use the best practice for implementing the kind of menu I want to have. Any suggestion is welcome.
I have embedded a screendump of the current menu, which should provide some idea of what I wish to implement. Also it shows the visual error mentioned above: "Add New" and "Customers" is cut off.