StrataFrame Forum

DevExpress grid new item row and SF BO

http://forum.strataframe.net/Topic9904.aspx

By Chan - 7/2/2007

Hi,

I have problem that, my 1st character entered in DevExpress XtraGrid new item row would not be "captured" when bound to SF BO. The 1st character would always been removed. Only the 2nd characters and onward would be captured.



Any ideas?



Thank you
By Peter Jones - 7/2/2007

Hi Chan,

I'm afraid I can't help but I can say we use the DevExpress grid tools and I've never seen a problem like that. Could it have have something to do with your data edit controls within the grid.

Cheers, Peter

By StrataFrame Team - 7/3/2007

Try putting a breakpoint on the set{} of the property on the BO to which the control is bound.  Then, go enter the first character in the control and see if it hits the breakpoint.  If it does, then try stepping through and see if you can find what's happening to your character...
By Chan - 7/25/2007

Hi,

The set method is not fired.



Any ideas?
By StrataFrame Team - 7/26/2007

Hrm... if the set method is not fired, then it's not the business object dropping the first character.  It has something to do with the DevExpress grid that you have it in.  One other thing you might try, just to verify it, try testing your BO and BBS with a regular DataGridView control from the .NET basic controls.  If it works, then it'd definitely something with DevExpress.
By Ben Hayat - 7/26/2007

It has something to do with the DevExpress grid that you have it in.


Chan, I had seen this behaviour on DX grid before on their "Masked" fields, going from "Brwose" mode to "Edit" mode. Somehow, I had to type the first character twice. ut that was a long time ago. Just to give more info.