After further evaluation, I have discovered that the red x (and subsequent exception) is thrown on "spreadsheet1.ActiveGrid.InvalidateCells()" if trying to make changes fro a button click. The first line of the stack trace says "mscorlib.dll!System.Math.Sign(double value) + 0x76 bytes. The exception error reads: "Function does not accept floating point Not-a-Number values."
I have never seen that error before. The cells affected in the spreadsheet I am currently using are three simple cells (one on top of the other) that receive numbers from a datatable and then a forth cell with a simple formula: =SUM(C26:C28). The numbers are not doubles, so that error makes me think there may be some formatting issue.
The error occurs if I try to delete any of those cells (including the formula cell) or try to change them by clicking the cell, typing, and pressing Enter. However, I can change the values by clicking in the formula bar and pressing enter without the error.
Any thoughts on this?
Thanks!