﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Event Handlers not copied in BBS</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 12:21:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Event Handlers not copied in BBS</title><link>http://forum.strataframe.net/FindPost24209.aspx</link><description>Hi All&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
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.</description><pubDate>Wed, 27 Oct 2010 08:03:28 GMT</pubDate><dc:creator>Kirk M Sherhart</dc:creator></item><item><title>RE: Event Handlers not copied in BBS</title><link>http://forum.strataframe.net/FindPost28838.aspx</link><description>Glad you got to the bottom of it. :)</description><pubDate>Wed, 27 Oct 2010 08:03:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Event Handlers not copied in BBS</title><link>http://forum.strataframe.net/FindPost28837.aspx</link><description>Found the mistake. Thank you</description><pubDate>Tue, 26 Oct 2010 22:03:48 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>RE: Event Handlers not copied in BBS</title><link>http://forum.strataframe.net/FindPost28830.aspx</link><description>Hi,&lt;div&gt;I have screen to allow users to approve a leave submission in bulk. List of leaves listed in DevExpress ASPxGridView. User just select multiple records and click approve button.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I am facing problem that when user approve 1st batch of leaves and continue for 2nd batch (same page, postback), FieldPropertyChanged event become null. It cause object reference is not set when invoke this event. I don't have time to create project to simulate it for now. May I know anyone has this opinion? What could cause this issue?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you</description><pubDate>Mon, 25 Oct 2010 21:51:48 GMT</pubDate><dc:creator>ChanKK</dc:creator></item></channel></rss>