Event Handlers not copied in BBS


Author
Message
Kirk M Sherhart
Kirk M Sherhart
StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)
Group: Forum Members
Posts: 41, Visits: 259
Hi All



I have a BO connected to a DevExpress grid via a BBS. I also have another object that subscribes to the BO's FieldPropertyChanged event. When changes are made via the grid, the FieldPropertyChanged event is not being fired. The event fires when changes are made directly to the BO, as expected.



I believe the cause can be traced to the BusinessBindingSource's CreateShareAndAddBusinessObject method. Events are not copied, so they are lost. I expect a CopyEventHandlersFrom call should be used somewhere in the routine.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search