I am wondering if there is cache or something I keep getting wierd behaviour from the toolbar. I have 4 buttons on a generic control. I add the control to a form. depends on which form the control is added I either hide 2 buttons or show all 4.
I had all 4 buttons showing. Then added the functionality to hide the 2 buttons
ToolBar.NewRecordButton.SharedProps.Visible = SearchOnlyFlag ToolBar.MovePopUp.SharedProps.Visible = SearchOnlyFlag
Tested it worked great.
Now I can't get those 2 buttons to show up again. So far the only way I know how to get them back is delete the toolbar and recreate it.
I am using 71 HotFix Build.1067 and VS 2005.
Any help in this situation would be greatly appreciated.
Check the VisibleResolved property on the tools. If it is False but the Visible property is True, there could be something else hiding the tool, like the CustomizedVisible property on the instance of the tool on the toolbar. If you still cannot get the tools to show, I would recommend submitting a sample reproducing the issue to the support group: http://ko.infragistics.com/gethelp.
Where would I find VisibleResolved ?
ToolBarManager.Tools.VisibleResolved ?