I have a cell with a dropdown and when I make a selection then move off of the grid by say, clicking on a button outside of the grid, I get an error because the cell failed to validate the new selection. an error msgbox shows up but when I dismiss it, the msgbox pops up again and there is nothing i can do other than kill the app.
It seems like when I dismiss the msgbox, the app wants to move the focus to the button but the cell fails to validate again and thus pops up the msgbox again and again.
It'd be nice if I could either prevent the focus to be moved away until everything is valid or somehow move the focus back to the grid after the initial error msgbox showing up.
What options are there?
Mike, I am on 7.3 (and unfortunately I cannot upgrade) and I experiencing the problem exactly like jnyikos described. If entering an invalid value (letter in numeric value cell) then I click elsewhere on the Grid, I can dismiss the error message box. Everything is good. Instead if I click elsewhere on the app after entering an invalid value in Grid cell, I keep getting the message box until I kill the app.
Any workaround?
I'm still having this issue too...
Bump... I have the same issue and cannot reproduce it in a simple project.... yet. Version 2008.3.
It has to do with MdiForms and dynamically created UserControls which contain the grid.
See also: http://community.infragistics.com/forums/t/33704.aspx
What I did: I set the RestoreOriginalValue to true in the CellDataError. Default value is NOT true as the documentation says!
I don't like that the value entered by the user is lost, but it's better than the infinite loop. I hope someone finds a better workaround and posts it here.
Hi,
I tried this out with the sample like you described and I am able to duplicate the issue. I'm not entirely sure that this is the same issue you are experiencing, but it's definitely something that needs looking into either way. So I'm going to forward this thread over to Infragistics Developer Support so they can write it up for developer review.
I am not able to reproduce this problem in a smaller sample. But I did see similar behavior when running the Infragistics sample "V5.2 Extension of Summaries Functionality" (from the Win Grid Samples Explorer). If I expand on "Category 1", and enter a letter in the Units column, I will get the Data Error popup. OK out of that error, then click on the Collapse symbol for Hide Settings Panel (near the top). You will get a series of 3 Data Error messages in a row. I think this is similar to my problem, only I get an infinite number of Data Error messages.
Perhaps if you can give me some guidance as to what is happening in that sample, that would provide some insight. Right now, I'm not even sure where to break as I can't seem to find a break point before the popup comes up.
Thanks for you time.