﻿<?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?)  » BO Interation through BO in Ultragrid</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 07:03:19 GMT</lastBuildDate><ttl>20</ttl><item><title>BO Interation through BO in Ultragrid</title><link>http://forum.strataframe.net/FindPost5959.aspx</link><description>&lt;FONT size=2&gt;&lt;P&gt;I have a Ultragrid that I am trying to populate a cell with a reference to&amp;nbsp;a BO other than the&amp;nbsp;primary BO. The problem&amp;nbsp;that when the grid loads the BOSubjectGrid.TypeCodes value does not&amp;nbsp;update to relative to the record in the GridRow.&amp;nbsp;However, the record does populate in the grid row.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Example&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; UltraGrid1_InitializeRow(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; sender &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Object&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Handles&lt;/FONT&gt;&lt;FONT size=2&gt; grdVSubjects.InitializeRow&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; BORecordType &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; ORION_BO.BOGenRecTypeCodes&lt;/P&gt;&lt;P&gt;BORecordType.FillByPrimaryKey(BoSubjectGrid.RecTypeID)&lt;/P&gt;&lt;P&gt;e.Row.Cells(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"RecType"&lt;/FONT&gt;&lt;FONT size=2&gt;).Value = BORecordType.Description&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;Any thoughts ???&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Thanks Michael&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 19 Jan 2007 15:14:19 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: BO Interation through BO in Ultragrid</title><link>http://forum.strataframe.net/FindPost5974.aspx</link><description>Excellent, great to hear :)</description><pubDate>Fri, 19 Jan 2007 15:14:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: BO Interation through BO in Ultragrid</title><link>http://forum.strataframe.net/FindPost5971.aspx</link><description>Yep, that did it!!!&lt;/P&gt;&lt;P&gt;Thanks so much!</description><pubDate>Fri, 19 Jan 2007 15:03:34 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: BO Interation through BO in Ultragrid</title><link>http://forum.strataframe.net/FindPost5967.aspx</link><description>So, when the event fires, the BoSubjectGrid business object is always on the same record?&amp;nbsp; I don't think that the grid actually "navigates" the business object to the proper record.&amp;nbsp; What you'll need to do is use the e.Row.Index property to move the business object before you try to grab the BoSubjectGrid.RecTypeID field.&lt;/P&gt;&lt;P&gt;BoSubjectGrid.MoveAbsolute(e.Row.Index)</description><pubDate>Fri, 19 Jan 2007 14:48:45 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>