﻿<?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?)  » Which record selected in browsedialog?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 12 Jun 2026 09:50:44 GMT</lastBuildDate><ttl>20</ttl><item><title>Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8649.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;How could I know which record is selected in browsedialog?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Fri, 04 May 2007 16:50:45 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8685.aspx</link><description>Excellent, glad you figured it out :)</description><pubDate>Fri, 04 May 2007 16:50:45 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8681.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Thank you for info.&lt;/P&gt;&lt;P&gt;After debugging, I found that PrimaryFields is not set. It is because I map my BO to view. &lt;/P&gt;&lt;P&gt;I have set override primary key specification&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Fri, 04 May 2007 09:29:15 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8680.aspx</link><description>There is a NavigateToPrimaryKey() call within the BrowseDialog.ShowDialog() method on line 1676.&amp;nbsp; Put a break point on that line and see if it's trying to move to that record.&amp;nbsp; It might be that there is something wrong with the business object and it just won't navigate to the primary key...</description><pubDate>Fri, 04 May 2007 08:50:35 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8678.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;I double check the SF.NET, I only see code to copydatafrom but couldnt see any code that set currentrowindex.&lt;/P&gt;&lt;P&gt;Please advice.</description><pubDate>Fri, 04 May 2007 00:54:37 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8654.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I tested with the code below, but it always point to first row.&lt;/P&gt;&lt;P&gt;[codesnippet]if (this.browsedialog.ShowDialog() == DialogResult.OK)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.lookupEdit.EditValue = this.mybrowsedialogBO.myField;&lt;BR&gt;}[/codesnippet]&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Wed, 02 May 2007 09:32:09 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Which record selected in browsedialog?</title><link>http://forum.strataframe.net/FindPost8652.aspx</link><description>You can use a BrowseDialogInfoPanel on the BrowseDialog and there is a RowChanged event that tells you the row that is currently selected within the business object.&amp;nbsp; However, if you want to know the row that was selected when the BrowseDialog was exited, then the BusinessObjectToPopulate will be filled with the results of the search, and the selected record will be the CurrentRow within the business object.</description><pubDate>Wed, 02 May 2007 08:59:45 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>