We have an application that uses RadGridView.
We use RadGridView collection of objects that have attributes of validation.
There is also a button on the ToolBar that switches on edit mode of objects (editing is disabled by default).
The problem is that when you add a new object that does not pass validation and disable the editing mode, the application crashes with StackOverflowException.
If the button Edit Mode is not on the ToolBar everything works fine.
List the steps to repeat this behavior:
1) Press the Edit Mode (on the toolbar)
2) Add a new blank line (by pressing Ins)
3) Cancel the edit mode by clicking the Edit Mode (on the toolbar)
4) Click on any item on the main window
5) get the exception
If in p.3) you press the the EditMode button not on the toolbar everything will work fine without any exceptions.
UPD Sample project in archive
We use RadGridView collection of objects that have attributes of validation.
There is also a button on the ToolBar that switches on edit mode of objects (editing is disabled by default).
The problem is that when you add a new object that does not pass validation and disable the editing mode, the application crashes with StackOverflowException.
If the button Edit Mode is not on the ToolBar everything works fine.
List the steps to repeat this behavior:
1) Press the Edit Mode (on the toolbar)
2) Add a new blank line (by pressing Ins)
3) Cancel the edit mode by clicking the Edit Mode (on the toolbar)
4) Click on any item on the main window
5) get the exception
If in p.3) you press the the EditMode button not on the toolbar everything will work fine without any exceptions.
UPD Sample project in archive