This is a migrated thread and some comments may be shown as answers.

[Solved] Index out of range

0 Answers 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff Lewis
Top achievements
Rank 1
Jeff Lewis asked on 01 Sep 2012, 04:28 AM
I'm setting up a mixed ASP.NET MVC / ASP.NET site (based on Kentico, if that matters) and having issues:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.ThrowHelper.ThrowArgumentOutOfRangeException() +72
   System.Collections.ObjectModel.Collection`1.set_Item(Int32 index, T value) +10419142
   Telerik.Web.Mvc.UI.HtmlHelperExtension.Telerik(HtmlHelper`1 helper) in f:\115\Griffin\Current Full\Sources\Source\Telerik.Web.Mvc\UI\HtmlHelperExtension.cs:57
   ASP._Page_Views_Shared__Layout_cshtml.Execute() in c:\temp\air-vend\Views\Shared\_Layout.cshtml:6

I've read other forum threads that point to this document.  I believe I've gone through that correctly - I've redone it now 3 times, but I'm obviously still missing something.  Could you please point me in the right direction to figuring this out?

Thank you!

Tags
General Discussions
Asked by
Jeff Lewis
Top achievements
Rank 1
Share this question
or