1
Answer

Problem in Using Context Menu?

sharique khan

sharique khan

14y
3.4k
1
I am using Windows forms in .NET 2.0. I have used Split Container in my application. And I am also using two Context Menus. I want that one context menu is associated with panel1 of split container & another context menu is associated with panel2 of split container. Till Now the things go very fine. I am using context menu property of panel1 & panel2 of split container and assign context menus to both panel. The problem is that when my application is running the first context menu of panel1 is Enabled and working properly but when I am doing right click on panel2, the context menu appears but it is disabled. I can't find any problem. My question is that Is it possible to use two context menus for panel1 and panel2 in split container control? If it is possible then how to use it. And another thing I mention here is that I am not using MDI control and I set IsMDIContainer property of my form to false.
Answers (1)