﻿<?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?)  » Problem with AutoNavigateToSelectedrecord</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 15 Sep 2026 00:15:42 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem with AutoNavigateToSelectedrecord</title><link>http://forum.strataframe.net/FindPost24971.aspx</link><description>I have a maintenance form with a child ListView. Working fine and I can see all the correct child records in the ListView&lt;P&gt;I now want to add in some additional tables but I cannot get the AutoNavigateToSelectedRecord to work.&lt;/P&gt;&lt;P&gt;On the ChildList I have the AutoNavigateToSelectedRecord set to True. I see the note that this requires the value stored in the Tag Property is the Primary key&amp;nbsp;of the row. Not sure what this means , but I have entered the name of the primary key (ITR_PK) into the Tag Property of the ListView&lt;/P&gt;&lt;P&gt;I have a MessageBox.Show in the Navigated and Navigating&amp;nbsp; Events&amp;nbsp;of the Businesobject instance ...&amp;nbsp; but these are not firing as I scroll up and down the Listview&lt;/P&gt;&lt;P&gt;I also have a Messagebox.Show in the SelectedIndexChanged event, to display the Primary key of the Business Object in the list. Each time it shows the Primary Key of&amp;nbsp;the &amp;nbsp;&lt;STRONG&gt;&lt;U&gt;&lt;FONT color=#ff1111&gt;First&amp;nbsp;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt; record of the child business object......it does not appear to be changing to the record in the business object as I go up and down the list</description><pubDate>Thu, 22 Oct 2009 17:03:38 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Problem with AutoNavigateToSelectedrecord</title><link>http://forum.strataframe.net/FindPost24976.aspx</link><description>Hi Edhy.&lt;/P&gt;&lt;P&gt;Thanks for that. Yes, I did not see the 'Business Object' property of the&amp;nbsp;ListView and once I set that, its firing the Navigated event.&lt;/P&gt;&lt;P&gt;Many thanks again.</description><pubDate>Thu, 22 Oct 2009 17:03:38 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Problem with AutoNavigateToSelectedrecord</title><link>http://forum.strataframe.net/FindPost24974.aspx</link><description>Hi Gerard,&lt;br&gt;
&lt;br&gt;
This is all done automatically by the listview internal code.  All you have to do is set the "User Interface Automation" properties in the listview.  Make sure you select the Business Object to be navigated by the listview.  Also your PopulationDataSourceSettings should be using the BO.CopyDataFrom() to get the data from the BO.</description><pubDate>Thu, 22 Oct 2009 15:02:12 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>