Dear all,
a hopefully small issue. For reasons of consistency I am changing the captions of some ContextualGroupTabs and some Ribbon.Tabs at design time via the Custom Property Pages dialogue. Generally all I am doing is adding or removing one word, see below for an example:
- contextualTabGroup2.Caption = "Diff View Actions";
+ contextualTabGroup2.Caption = "Diff Actions";
However when I do this (even if it is only a single character difference) the ribbon throws a duplicate key error (specifically System.ArgumentException: An entry with the same key already exists) and the ribbon control can no longer be viewed at design time.
A diff of the designer file shows only the above line has been changed. And that it is the caption, not the key that has been altered. I've checked the and the key is not duplicated anywhere. Why is this error being thrown?
Thanks.
Hello B_D,
I tried to reproduce this issue and was not able to. You could review my sample and try to change the caption of a 'ContextualTabGroup'. If my sample does not help you, please try to attach a small project of your own reproducing this issue, I will be happy to take a look at it.
Please do not hesitate to contact us if you need any additional assistance.
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
www.Infragistics.com => My IG = > My Support Activity.
Please do not hesitate to ask if something comes up.
Thanks Boris.
Quick question... how do I access that case?
I have created the following case for you: 'CAS-85780-0YTXR7'. So you could provide the sample there, I will update you through this case.
Hi Boris,
I've managed to trim down my application quite a bit and still display the chaning the caption problem I'm having. However, as this is my works code, and although extremely stripped down I'd rather not post it on an open forum. Do you have a private email address I could send it to?
The adding a ribbon to a context group error I could try and make an example for you, but I suspect the underlying issue, where ever it lies (which includes me using it all wrong), will be the same.
Regards,
Please attach your sample when you succeed in reproducing it. I have tried your scenario with many different approaches several times without any luck, so I will be happy to take a look at such sample.