﻿<?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 » WinForms (How do I?)  » Listview Problem</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 13 Sep 2026 20:07:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Listview Problem</title><link>http://forum.strataframe.net/FindPost7103.aspx</link><description>I have a listview that is has got me stumped. I am passing a valid parameter value to the business object. However, I get an error. THe business object is populating with data. When I set the BO to FillAll on formload it works. &lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;The following code is called from a grid click.&lt;/P&gt;&lt;P&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.BoSubAssignTo.FillByParentPrimaryKey(BoSubjMain.ID)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;lvAssignedTo.Requery()&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;P&gt;Dynamically populating the ListView failed.&amp;nbsp; Could not create and fill the business object of type 'ORION_BO.BODefAssignedResources'&lt;/P&gt;&lt;P&gt;***************************************************************&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.UI.UIException was unhandled by user code&lt;BR&gt;&amp;nbsp; Message="Dynamically populating the ListView failed.&amp;nbsp; Could not create and fill the business object of type 'ORION_BO.BODefAssignedResources'"&lt;BR&gt;&amp;nbsp; Source="MicroFour StrataFrame UI"&lt;BR&gt;&amp;nbsp; StackTrace:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListView.GetFilledBusinessObject(Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListView.PopulateListView(Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListView.Requery()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at OrionApp.MainForm.grdVSubjects_Click(Object sender, EventArgs e) in C:\DevelopmentApps\Orion\OrionApp\WorkForms\MainMenu\MainForm.vb:line 2253&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Infragistics.Win.UltraControlBase.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;</description><pubDate>Thu, 22 Feb 2007 09:13:23 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Listview Problem</title><link>http://forum.strataframe.net/FindPost7116.aspx</link><description>Glad you got it working...</description><pubDate>Thu, 22 Feb 2007 09:13:23 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Listview Problem</title><link>http://forum.strataframe.net/FindPost7104.aspx</link><description>Disregard again. I forgot to code the &lt;FONT size=2&gt;ListPopulating event with parameters.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Wed, 21 Feb 2007 23:26:07 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item></channel></rss>