By Chan - 7/15/2007
Hi,
I use BusinessBindingSource to link DevExpress.LookupEdit with SF BO. I found that, FieldPropertyChanged event is not fired when I changed value of lookedit.
Any ideas?
Thank you
|
By StrataFrame Team - 7/16/2007
Put a break point in your BO on the set {} of the property and see it it gets hit when you change the value of the LookupEdit. It is most likely that the lookup edit is not persisting the values back to the business object until the row changes... there is an "update mode" property somewhere on the control that should control when the grid updates back to the data source.
|
By Chan - 8/24/2007
Hi,
I am facing the same problem. I bind SF BO to Xtragrid using BusinessBindingSource. I have FieldPropertyChanged event handler within BO, and also form.
When add new record, I set default value to new record. Both even handlers is fired. However, If I changed any value in xtraGrid column, only the event handler INSIDE that BO is fired. The one reside in form is not.
I set breakpoint at Field setter method, and it stopped at there too.
Any ideas?
Thank you
|
By StrataFrame Team - 8/27/2007
Most likely, it's because the event handlers are not copied from the business object to the copies of the business object that are being returned by the BBS. It might take some time for me to look at this, but as a work around for now, you could put a method on the form and in the handler within the business object, the one that is reached, use the ParentForm property and if the form is the proper type, then call the method.
|
|