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
485
Exception while trying to set the visible property of toolbar
posted

Hi,

 I am using Infragistics 2010 Vol 3.

When i try to set the visible property of the  toolbars item i get an exception.

I have attached the sample application for your reference.

Any workaround for this will be of help.

 

 

InfragisticsToolBar2010.zip
  • 290
    posted

    Hi Vinutha,

    I looked at your sample app.
    On FormLoad, you are setting,
    ultraToolbarsManager1.Toolbars["ID_NewTool"].Visible = true;

    whereas the Toolbar's Key/Text that exists on the ToolbarsManager is "[UltraToolbar1] - UltraToolbar1"
    and hence you are seeing a 'Key not found' exception.

    Is this the exception that you see or something else?

    Thanks
    Purnima