I have spent a bit of time trying to upgrade a project to version 2008.1 619 but have been getting this error:
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.get_Item(Int32 index) +2748189
System.Web.UI.StateManagedCollection.System.Collections.IList.get_Item(Int32 index) +9
Telerik.Web.StronglyTypedStateManagedCollection`1.get_Item(Int32 index) +20
I have traced it down to the line: "RadEditor1.Tools.Tools.Insert(0, custom1);"
EditorTool custom1 = new EditorTool();
custom1.Name = "CustomSave";
custom1.ShortCut = "CTRL+1";
The help file also shows adding a button using the code below which also creates the error
EditorTool tool = new EditorTool("Bold");
tool.Type = EditorToolType.Button;
Has something been changed or is this a bug to be resolved. Any help would be greatly appreciated.