Group: Awaiting Activation
Posts: 172,
Visits: 12K
|
You ain't gonna believe this but I removed all of my custom code from the business object (AddHandler, custom method, mapping the event to the method in the object itself) and reran the code. Guess what, the error is still there in design time but the event is surfacing as expected now. It even runs twice (I put a Breakpoint in there just to make sure). Sure enough, the event loops twice.
Why is this code executing even though the design time is registering an error? Sometimes this stuff makes me feel nuttier than a fruitcake.
CT
Charles T. Blankenship Senior Consultant Novant Consulting, Inc. 704.975.7152 http://www.novantconsulting.com
|