You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
Just downloaded latest version. This code was working in the older version.
It's throwing:
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index" error on save.
Stack trace:
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at unvell.ReoGrid.Worksheet.e(Int32 A_0)
at b1.a(b2 A_0, Worksheet A_1)
at b1.a(IWorkbook A_0, Stream A_1)
at dm.Save(IWorkbook workbook, Stream stream, Encoding encoding, Object arg)
at ae.Save(Stream stream, FileFormat fileFormat, Encoding encoding)
at ae.Save(String path, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.ReoGridControl.Save(String path, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.ReoGridControl.Save(String path, FileFormat fileFormat)
at CheckRegister.frmCheckLog.PB_OK_Click(Object sender, EventArgs e) in C:\Users\xxxxxxxx\Documents\Visual Studio 2010\Projects\CheckRegister\CheckRegister\frmCheckLog.vb:line 131
Calling code:
Dim F As IO.FileFormat
Select Case TK.RightOf(Strings.Right(lsLastPath, 5).ToUpper, ".")
Case "XLSX"
F = IO.FileFormat.Excel2007
Case "CSV"
F = IO.FileFormat.CSV
Case Else
MsgBox("Don't know how to save that format (" + TK.RightOf(Strings.Right(lsLastPath, 5).ToUpper, ".") + ").", MsgBoxStyle.Information, "Save Check Log")
End Select
If Not IsNothing(F) Then
Me.GC1.Save(lsLastPath, F)
End If
Never order the french onion soup in a Chinese restaurant.
Offline
FYI, I back-leveled the DLL to 1.1.0.0 and it works. 1.2.1.0 is failing.
Never order the french onion soup in a Chinese restaurant.
Offline
Thanks for report. This bug will be fixed in next release.
Offline
Please try the latest version 1.2.2: https://reogrid.net/download/
Offline
Pages: 1
Topic closed