Hello,
Just installed IgniteUI 2012 and am having problems just creating and running a project. I get an exception on the following statement and not code has been modified, simply installed, compiled and ran the debugger:
@(Html.Infragistics().Grid(Model.Customers.AsQueryable()) .Width("400px") .DataBind() .Render() )
Error is:
Index was out of range. Must be non-negative and less than the size of the collection.
Any help is greatly appreciated since I am brand new to ASP.NET MVC.
Thanks
Doug
Hello dmatulis ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hello dmatulis,
Thank you for posting in our forum.
Have you defined the model the grid should use?
Generally you should have the model type defined in the page for example:
@model IQueryable<igGrid_AutoGenerateLayouts.Models.Item>
Please refer to the attached sample and let me know if you notice any differences between it and what you have in your application.
Developer Support Engineer II