User (Old forums)MemberDecember 4, 2003 at 8:59 pmPost count: 23064
I received the .NET 2.0 Grid today and installed it per your instructions, I previously had v1.1 installed on this machine as well.
using the toolbox it appears as though the only grid now available for the project is version 2.0, HOWEVER, when I drag a grid onto a newly created form, right-click it and choose about… from the context menu it displays version 1.1.
When I open your sample applications and do the same, it displays the correct version.
In moving forward with this project I only want to use the new version, and when time permits go back and replace all the v1.1.
Is there a way to fix this without having to uninstall v1.1 completely??
Help is needed and appreciated,
Imported from legacy forums. Posted by ghartt (had 3438 views)User (Old forums)MemberDecember 5, 2003 at 12:27 pmPost count: 23064
In short, your project is probably still referencing the old XceedGrid version 1.1
In more detail…
If you open your project and open the references node, you can find the reference to Xceed.Grid. The designer creates this reference the first time you add a grid control to one of the forms or user controls in your project. If you look at the properties for this reference, the version number probably starts with 1.1.
When you go to add a grid from the toolbox, the designer looks in the only place it knows of to find a grid control, and that’s in that referenced assembly, version 1.1.
If you remove the reference to the version 1.1 assembly, and add a reference to the version 2.0 assembly, the designer, and all of your code, will now look in the new assembly for the grid control, and you will have updated your entire project, and all of the grids in that project, in one small step.
Be careful if you want to do the upgrade to many projects in pieces, however. If you have project references between multiple projects in a solution, you’ll probably want to update all of the grid references at the same time, or you may encounter conflicts between projects. This is especially true if you use inherited forms that inherit across multiple projects.
Imported from legacy forums. Posted by Christopher (had 335 views)User (Old forums)MemberDecember 5, 2003 at 12:44 pmPost count: 23064
Another quick related note that I just encountered…
I had some grids that I upgraded by adding the old reference and removing the new reference.
Unfortunately, when I tried to change the UIStyle of the grid, the generated code threw an exception, saying it couldn’t find the UIStyle namespace.
To remedy this, I also had to add a reference to the Xceed.Grid.UIStyle assembly. I would guess that if you add a new grid to a new project, the designer would add the UIStyle reference automatically, but it can’t really do it if for you update the old reference by hand.
Imported from legacy forums. Posted by Christopher (had 296 views)
- You must be logged in to reply to this topic.