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
40
Bugs in InitializeRow raised by UltraWinGrid 7.1?
posted

There seems to be wierd behavior when I try to foreach the cells inside the InitializeRow event; the foreach stops at the cell + 1.  For example

foreach (Infragistics.Win.UltraWinGrid.UltraGridCell cell in e.Row.Cells)

{

}

Let's say the row has 12 cells in it and the 5th cell's value was changed via the UI.  This foreach will end at 6th cell instead of the entire collection.  Is this a bug?

  • 469350
    Offline posted

    Hi, 

    This works fine for me and there has never been an issue with this as far as I know. My guess is that something inside your foreach loop is causing an exception and the exception is being caught and handled so you simply aren't seeing it. 

    Try setting the VS IDE to break on all run-time exceptions.