Hey,
We just upgraded from 7.3 to 2010 v1 and I am noticing a major difference in how UltraGrids are handled in Design Time with Visual Studio.
Before the upgrade, the Design Time UltraGrid objects were selectable on forms and they would have a button on them to open an Editor type window, or an enhanced Property management window, whatever you want to call it. Since we have updated, the UltraGrids we have on our forms are not selectable. Instead, they show up as an icon on the strip of 'hidden' objects below the form. Also, I no longer have a way to get into the UltraGrid 'Editor'.
Is there a way to change this back to the legacy functionality? Or some other way to launch this editor, if it is even still provided?
Cheers,Mark
Hi Mark,
Obviously, this is not an intentional change in functionality.
If the grid shows up in the system tray, it means that Visual Studio is unable to find the grid's Designer assembly.
This could be caused by having mixed references in your solution, by setting CopyLocal to true on the Infragistics assemblies, or by an installation problem. Check your project references and make sure all of the Infragistics assembly references are the same version and that none of them have CopyLocal set to true. If that doesn't help, try uninstalling and re-installing NetAdvantage.
Hi Mike,
I am Jonatan, Mark's colleague. I want to give you some more details on our issue. We have purchased infragistics source and we are attempting to add RightToLeft support to a few controls. We are re-compiling the entire source, and are using these assemblies in our main project. We also changed the assembly names so that they don't include the version, for easier upgrades in the future. The code compiles and the new assemblies run with the application. The problem is the design time support is gone.
Since we bought the license for the source, we would like to be able to use it, along with the design capabilities.
Please advise,
Jonatan
Hi Jonatan,
we had a similar issue. To have a central place for our base settings, we do not use the UltraWinGrid directly. We have inherited from it, and we use the derived class in our Forms. To get a design time support, we have attached the UltraWinGrid designer to our derived class via the designer attribute.
After upgrading from 7.3 to 10.1 were our grids in the designer visible, but not editable. The Start button is disappeared. We had to change the reference in the designer attribute to the 10.1 Assembly to get it work again. I hope it helps for you too.
Hi,
I already changed the design value in the AssemblyInfo.cs, and it didn't help. I am wondering if there is any way to debug, see why it's not loading the designer.
Regards,
There's really no way to debug issues like this as far as I know, because the designer is provided via an attribute, not via any particular line of code that you could step into.
The attribute itself is on the UltraGrid class. If you have changed the names or versions of the assemblies, then you will have to rebuild the Infragistics2.Win.Design assembly to have the same version as the other assemblies and make sure this assembly gets installed in the GAC. And also, that the Designer attribute on the UltraGrid class points to the right name.