Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
System.FormatExpression being thrown on empty formatted text
posted

Infragistics is throwing and catching a System.FormatExpression every time a cell/column has no data in a formatted cell.  Here's some code:

                              column.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Time;
                              column.Format = "hh:mm";
                              column.MaskInput = "hh:mm";
                              column.CellDisplayStyle = CellDisplayStyle.FormattedText;
                              column.MaxLength = 5;

 The problem is I have 6 columns that are being accessed and throwing exceptions during any event like clickcell or onmouseover.  This is slowing down the program.

Is there a way to fix this other than having to set all my values to some default acceptable values?

Parents Reply Children
No Data