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
220
Inherited UltraTabControl throws Key already exists Exception
posted

Our Company recently updated from WinForms version 7.3 to 10.3.

Now i have a little problem when trying to add a new tab to an existing Form.

We have a base Calss for our Data Forms containing the TabControl and 2 TabPages every Data Form needs. The Problem is when i try to add a new Tab, or change the key of an existing tab in the subclass I get following Exception when clicking the OK Button of the UltraTab Collection Editor: "Key already exists Parameter name: Key".

I tried creating a new Form that inherits the Base Class and adding Tabs worked fine but i couldn't find differences between these tabs and the old ones.

Some of the old tabs don't have keys and if the mentioned exception is thrown these get the key [-1].

Could you please help me with this Problem?

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello iGod,

    Basically this means that you actually already have these keys. They could be set to their default settings after the operations you are describing. Could you please try resetting the keys of all tabs to some values or either try downloading the latest service release available for your current version and test your application again.

    Please do not hesitate to contact us if you need any additional assistance.

Children
No Data