Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
An error occurs when trying to add custom properties on UltraToolbarManager
posted

Hello, I'm trying to add some custom properties on UltraToolbarManager, such as 'NABiButtonTypeProp' property on the button tooltype in the UltraToolbar, and so on. It seemed to work okay at the first time, but when I opened the UI design sometime later, it showed an error message. The part of the error message is Korean, so I'll translate it. The code of 'Tools' property could not be created. Error: '[A]NABi.Framework.UIControls.ToolProvider.CustomButtonTool cannot be casted to [B]NABi.Framework.UIControls.ToolProvider.CustomButtonTool. I made my source code, following the sample code provided by Infragistics. (The sample code is in the folder 'C:\Users\Public\Documents\Infragistics\2013.2\Windows Forms\Samples\Toolbars\VB\ToolProvider Component VB' - the sample codes that comes along when installing Infragistics.) I have no idea why this happens. I'll attach my sample code here. It'll be greatly appreciated if somebody checks the code and tells me what's wrong. Thanks a lot.

SampleImageNSource.zip