Interesting problem with DevExpress XtraGrid and SmartDateInteresting problem with DevExpress XtraGrid and SmartDate
Old forum URL: forums.lhotka.net/forums/t/5453.aspx
Burim Ratkoceri posted on Wednesday, September 24, 2008
Hi,
I am having a serious problem with DevExpress XtraGrid. I have a collection as a data source to a .NET binding source.
The item objects in the collection have some smart date properties and some int, string properties.
The problem for me occurs when I am positioned in a cell bound to a smart date and then move from it to a cell that is bound to a string property, at this point StringToDate method on the SmartDate class is executing and throwing an exception if the string value is lets say "H" on that cell. I have noticed that the value that is being sent to the StringToDate for conversion is the value of the string property in my case the value of the cell I am moving at from the smart date cell. This does not happen if I am moving from a smart date cell to a integer cell or moving from a string cell to another string cell.
Also this does not happen with .NET grid view.
Anyone any idea?
Thanks a lot,
Burim Ratkoceri
Copyright (c) Marimer LLC