Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
The refreshing of controls works on a list of bound controls for a BO, accessed via the BoundControls property. This should be set when you set the BusinessObject property of a control that implements IBusinessBindable (if it was implemented correctly). This is what is happening with a normal SF textbox. The first thing I'd check, via a break point, is if the controls are in fact getting added to the BoundControls list, and I'd check that the list isn't some getting cleared before you use it.
As I look at your code, I'm wondering if you are setting up all the controls you need to. It appears that you are only setting up controls that are SDSI_cmdDataButton types. Does this type include controls you might need like textboxes and combos (two very common bound controls)? You need to set the BusinessObject property of the control to get it added to the BoundControls collection.
|