ITTreats.com
Enter your Search term and Hit "Enter"

Wed, 10 Mar 2010 9:38:25 AM +00:00


Adding Sub MenuItems to the Context Menu Item Dynamically

Adding  Sub MenuItems to the Context Menu Item Dynamically
Posted on March 8th, 2009 in C#.NET by adrevol

You can’t add sub menuitems to a Context Menu Item Programatically for more than one time.

If you try to add first sub menu item it will add up into the list then again if you try to add then the sub menu items wont be displayed,

but if you debug it you will find the Submenu Items will still there .

This is Bug in .NET to over come this problem , toggle the visiblity of the added menuitem submenuitem1.visible=false; submenuitem1.visible=true;


P.S. : Please post us Your Valuable Comments on this Article

Written by : adrevol
( Treats Given : 35 Treats Attended : )

Post a comment