StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



BOTranslations on SFUserControlExpand / Collapse
Author
Message
Posted 08/21/2006 3:43:40 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
I have a costom control based on the SFUserControl.  It contains an SFListView control.  I also have two BOs on the control.  When I drop the control on a form and set the BOTranslation property the translations only appears to be done if the PopulatOnLoad property of the listview is set to FormLoad. If it is set to manual the two business object on the control contain no data.  Is this correct?
Post #2334
Posted 08/21/2006 3:45:49 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
Yes, the ListView will be empty until you manually call Requery() on it, but the business objects should have data if the translated business objects also have data...


www.bungie.net
Post #2335
Posted 08/21/2006 4:04:29 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
Ben Chase (08/21/2006)
Yes, the ListView will be empty until you manually call Requery() on it, but the business objects should have data if the translated business objects also have data...

Correct.  When I set it to manual I am calling Requery() and in the RowPopulating event I am using the BOs to do some lookups, when PopulateOnLoad is set to manual there is no data for the look ups in the BOs.  When set to FormLoad the BOs have data and the lookup completes succesfully.

Post #2336
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:36am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.