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
685
UltraPanel not working in VS2022
posted

I upgraded from VS2019 to 2022 and now I'm getting the following error in the designer:

However, when I change the code to what it says, I get this error:

The code in question is in the Designer.cs and here it is:

this.pnlMain.ClientArea.Controls.Add(this.pnlMain.ClientArea);

How do I get around this?

Parents
No Data
Reply
  • 7535
    Offline posted

     Hello Sean, 

    Do you have this line of code in your designer file ?

    this.pnlMain.ClientArea.Controls.Add(this.pnlMain.ClientArea);

     

    We create and add the ClientArea internally to the UltraPanel. You can comment out this line of code and See if his controls are appearring in the component tray (bottom) of the designer, as that line appears in the serialized code when our CodeDomSerializer for the UltraPanel is not found.Means you could be missing designer assembly.

    So question is did you install/upgrade to any other version of controls? Changing the visual studio version from 2019 yo 2022 would not change anything. 

    Check if you have two different versions in the reference or licence.licx file. 

    Then delete one and keep the reference which you have install on your machine. 

    If this dosent help then I would need more information like which version of control you are referring ,if you have that version and build install locally and what other changes you have made in the project other then VS2019 to 2022.

     Regards,

    Divya Jain

Children
No Data