Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Well, you will probably want to actually put the BO on both the form and the user control....and then use the BOTranslations property on the user control once it is dropped on the form. This way you can bind all of the controls within the user control to the BO dropped on the user control, but when you drop it on the form, you will be able to populate your BOs on the form BO and then the translation will "translate" the BOs that sit on the user control into the actual BOs on the form. So yes, go ahead and drop the Question and Answer BOs on the user control...and if the form on which this control is dropped needs to actually be the location where the data is loaded and updated, then go to the BOTranslations property on your user control once it is dropped on the form and setup a BO translation...this way all of your loading and save logic can actually be done through the BOs on the form rather than the user control...if in fact that is what you are trying to accomplish.
|