﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » DataRepeater &amp; BusinessObjects</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:29:12 GMT</lastBuildDate><ttl>20</ttl><item><title>DataRepeater &amp; BusinessObjects</title><link>http://forum.strataframe.net/FindPost16560.aspx</link><description>I am attempting to utilize the Visual Basic PowerPack 3 DataRepeater control and need a little help.&lt;br&gt;
&lt;br&gt;
On my form, I have my primary BO and a BusinessBindingSource on the form and attached to the primary BO.&lt;br&gt;
&lt;br&gt;
The DataRepeater will only accept the BBS as a data source.  This in itself isn't necessarily a problem, however, I have a couple of custom user controls that have been created that only bind using a BO.  So what ends up happening is the user control will either show NO data (in a few instances) or only the first record's values in all rows.  Is there anybody here that can help shed some light as to how to implement a DataRepeater using the StrataFrame BO's?&lt;br&gt;</description><pubDate>Mon, 26 May 2008 13:59:21 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: DataRepeater &amp; BusinessObjects</title><link>http://forum.strataframe.net/FindPost16593.aspx</link><description>Well, you are dealing with 2 types of data binding...so as such, you will need to be consistent if you want to use this type of logic for the easiest implementation.&amp;nbsp; When you use a BBS, there is no "CurrentRowIndex" so to speak.&amp;nbsp; It is managed within the BBS, but if you have custom controls using the IBusinssBindable interface, you will need to see at what point you are having an issue.&lt;/P&gt;&lt;P&gt;As soon as you set the BusinessObject property of a BBS, any bound control will automatically be forced back to the first record in the BO.&amp;nbsp; Secondly, if you are using BO translations through a user control or any other mechanism, this too can become a problem as the object instance within the DataRepeater may not be refreshed since it is not going to be handled through the translation.&amp;nbsp; So in this instance, you would want to refresh that instance with the translated object after the OnLoad of the control.&lt;/P&gt;&lt;P&gt;This is a very sticky and complicated thing to address on a post like this.&amp;nbsp; Data binding can be a somewhat complicated thing when you have a lot of things in the mix.&amp;nbsp; So I am just throwing out a few ideas here versus trying to resolve your problem as I really don't know what your problem would be without getting my head into your code and logic.</description><pubDate>Mon, 26 May 2008 13:59:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>