By dgsoft - 7/1/2010
Hi,
In many forms and use BOTranslation between form BO and UserControl.BO.. all works perfect - but in one case - it does not work and I can't understand why. Seems all the same.
How can I check why the translation does not work?
I have next configuration.
Form with set of BO
UserControl on form which has also set of same BO inside.
BOTranslation created using property builder form.
For example.. I have a code
BO.returnsetofrecord()
BO.count here 100
UserControl.NavigateRecord(rec_id)
UserControl.BO.Count - here count is 0, but on my opinion it must be also 100?
Can someone show me the way how to find why BOTranslation does not work?
Thanks
Denis
|
By dgsoft - 7/1/2010
Ok.
Seems I cheet..
Configuration is another..
I have UserControl1.BO
UserControl2.BO
Form has not BOs.. and UserControl1. add to the form programmatically.
At this case BO translation does not work
|
By Greg McGuffey - 7/2/2010
You might need to reset the BO in the user control for the translation. In other words, it is likely that the mechanism that makes the translation isn't working with the user control. For performance reasons, the translations handles the normal cases, but in some cases you have to do a bit of work. I'm thinking this is one of them.
See this post for more on how BOTranslations work:
http://forum.strataframe.net/FindPost24538.aspx
Let us know if you need more help.
|
|