Hi Amit,
Thanks for your update.
You could connect toolbars and menus, if you are using our MainFrameBarManager.Same actions will take place for the menuitem and it''s coresponding toolbar item.
If you want to connect docked control''s visibility to menu , you need to write code in the click event handler of coresponding menu item.
I have modified the old sample.I added menu and toolbars(connected) to imitate view menu of VisualStudio.Please go through that and let me know whether I understood your requirement correctly.
Regards,
Joy
modified_sample0.zip