How to hide a single Buttontool in a Toolbar

Answered (Not Verified) This post has 0 verified answers | 2 Replies | 2 Followers Thread's RSS feed.

SinikovonKeitz
Points 25
Replied On: Tue, Jun 15 2010 4:25 AM Reply

I am using this code

Me.UltraToolbarsManager1.Toolbars(0).Tools("Configuration").CustomizedVisible = DefaultableBoolean.False

and it works fine with PopupTools but when i try to use this for as single Buttontool I got an Exception "Key not found Parametername: key".

also

Me.UltraToolbarsManager1.Tools("Configuration").CustomizedVisible = DefaultableBoolean.False

doesn't work.

What's wrong?

  • Post Points: 20

All Replies

Answered (Not Verified) Replied On: Wed, Jun 16 2010 7:45 AM Reply

Hello,

 

I have tried to hide the Buttontool using your code and everything was working fine like the other tools. Are you sure that you have use the correct key? Did you try to use the index of the Buttontool instead of the key?

Is so which version are you using, try to get the latest service release?

 

I hope this helps.

 

Sincerely,

Dimi

Developer Support Engineer

Infragistics, Inc.

Dimi

Developer Support Manager

Infragistics

  • Post Points: 20
SinikovonKeitz
Points 25
Replied On: Fri, Jun 18 2010 3:47 AM Reply

thanks a lot for your quick reply.

after changing to version 10.2 it works again.

  • Post Points: 5
Page 1 of 1 (3 items) | RSS