Looking for an example of using the Navigation Toolbar in the UltraToolbarManager, anybody have one or can send a link?
The back and forward buttons will be enabled if you call InitializeHistory on the NavigationToolbar and pass in non-empty collections for the backHistory and forwardHistory parameters. If you are doing this, put a breakpoint on the method call and make sure it is actually getting called.
Mike,
I looked through the help and it still wont enable the buttons.
I am not building a browser. I am using this in a different way. I have an windows app that I need to maintain a history of where the user has gone. I want to add items to the history at runtime, by supplying the TEXT and the TAG. The tag will allow me to hanlde the BeforeNavigation and AfterNavigation events to call my own ShowItem method, which will actually load a new mdiChildForm.
BeforeNavigation and
AfterNavigation events to call my own ShowItem method, which will actually load a new mdiChildForm.
I just cant get the buttons to enable.
Thanks
How about more specially, adding items at runtime.
I have tried using Me.UltraToolbarsManager1.NavigationToolbar.InitializeHistory method to add content to the history but the buttons are never enabled on the toolbar.
You can view information about the navigation toolbar by going to the online help:
http://help.infragistics.com/NetAdvantage/WinForms/2009.2/CLR2.0/
And going to the following location in the tree:
Developer's Guide -Controls -WinToolbarsManager -Working with Toolbar Types -Navigation