64Bit win7 box. File NOT read only in the solution (.net 3.5 and vs2008). Trying to upgrade 1 small site from 11.1 to 11.2. It has a web grid in it. I keep getting this error. I have reviewed the steps in help for using the Version Utility, that did not help. Any ideas?
11:20:25: Running VS2008 Add-in UI Version 11.2.20112.1000
11:20:25: Gathering volume and assembly information.
11:20:26: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
11:20:26: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.GetAllSiteFiles(Boolean analyze)
at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.Analyze()
at Infragistics.VersionUtilitySupport.Core.File.Types.SolutionFile.Analyze()
Hello baileyjames,
The WebGrid control has been retired in version 11.2. For more information about the changes in volume 11.2, please read this blog post.
After the RTM version, we updated the version utility to warn about retired controls before upgrading. The upgrade will not succeed if there is a retired control, as there is no 11.2 .dll for it.
As you can read in the blog post, there are 2 options.
1. Keep using 11.1 and updating it with service releases.
2. Update the WebGrid to a WebDataGrid or WebHierarchicalDataGrid. This is recommended.
For more information about the WebDataGrid and WebHierarchicalDataGrid, you can reference our help.
Elizabeth AlbertLocalization Engineer
Hi Elizabeth. Thanks for the reply. Actually the grid has not been retired. It is coded differently but there are versions of the grid in 11.2. I'm tasked with upgrading our grid to that newer version. I have read all the blogs and posts and understand those high level discussions. I'm looking for details on how to perform the upgrade. I understand I will have to change code but the Version utility should at least help developers out as far as references go and upgrading the code. If it does not do that it is pretty much worthless. Using the 11.1 grid is is not an option. Are you aware of the fact it does not run in Chrome or IE9? That is roughly 40% of the browser market. I'm shocked there is not a clean upgrade path for these controls and a working version utility. Telerik does a wonderful job of building an upgrade tool that upgrades the code and everything.
The WebGrid has been retired and replaced by the 2 newer grids.
The upgrade utility was created to upgrade references from version1 to version2 (ex. 11.1 to 11.2). If one reference does not exist in version2, it will not perform the upgrade.
Because the WebGrid and WebDataGrid / WebHierarchicalDataGrid are different controls built on different frameworks with different object models, it is a manual process to upgrade. For useful information about upgrading to a newer grid, there is a cheat sheet available in our help.
Here are some other links to help you with understanding the WebDataGrid and WebHierarchicalDataGrid.
Getting Started with WebDataGrid
Using WebDataGrid
Getting Started with WebHierarchicalDataGrid
Using WebHierarchicalDataGrid
WebDataGrid Samples
WebHierarchicalDataGrid Samples
Ok thanks. I have to re-code every grid. Bummer. Are there any upgrade tips tricks or a cross reference sheet anywhere? I get the links above. I have to learn the new grid, it would just be nice to see some methods side by side with new methods, properties etc...
The Cheat Sheet that I linked to earlier was created as a reference guide on how to enable various behaviors and features in the WebDataGrid and WebHierarchicalDataGrid. It's sorted by functionality. So for example, if the WebGrid had Column Moving enabled, search for "Column Moving", and you'll see steps, a screenshot, and a code snippet for how to enable it in the new grids.