Hi
We recently migrated to office 2010 & when I try to import the .xlsx file getting following exception
Index was out of range. It must be non-negative and less than the size of the collection.Parameter name: indexActual value was 0.
.xls file is fine. We are using v10.1 version of Infragisctics.
Pls let me kow how to solve this issue
thanks
-Kiran
Hello Kiran,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Kiran,
I know that there has been an issue that was addressed for the excel engine that resulted in a similar exception. As such if you are still seeing this, you should test with the latest service release. If you are using the latest service release and still see the issue then we would need an excel file that reproduces the exception.
Let me know if you have any questions with this matter.
I have been looking into the modified sample and I can say that this behavior is expected and is by design. I can suggest you loop through the FilterRecords collection items and check whether they have conditions. This way you will be able to know how many active filter are applied to the XamDataGrid. You can do something like this:
int count = 0; foreach (var item in xamDataGrid1.FieldLayouts[0].RecordFilters) { if (item.Conditions.Count != 0) { count++; } } MessageBox.Show(count.ToString());
Hope this helps you.
Thanks for the reply. I figured it out the same.
We are facing lot of issues with the patch version you guys provided. We found these in Production & had to revert back (Took lot of heat from users). Pls provide me only excel fix. We don't want anyother changes.
I ahve attched the issues file. since I can attach only 200 MB. I wil raise one more post & attach another file.
Attached one more file
Thanks
For this issue you can find case CAS-92412-R3QKZM at the support activity page: https://es.infragistics.com/Membership/MySupport.aspx.