<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Lost selection after repopulating l</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Lost selection after repopulating l]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 16:36:46 +0000</pubDate>
  <lastBuildDate>Thu, 15 May 2008 11:57:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=10634</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Lost selection after repopulating l :   Aaron wrote:Hi,   When the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35250&amp;title=lost-selection-after-repopulating-l#35250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10634<br /><strong>Posted:</strong> 15 May 2008 at 11:57am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br />Hi, <DIV>&nbsp;</DIV><DIV>When the control would hold the references of the selected rows it would be easier, thats correct. But how would the reportcontrol "know" to delete all references? As I was typing this I wondered why not.</DIV><DIV>&nbsp;</DIV><DIV>Please look at the SelectedRows class. You can <strong>add</strong> a selected row to the collection and <strong>DeleteAll</strong> if you want to.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>And then again it's the same class <img src="https://forum.codejock.com/smileys/smiley18.gif" border="0">&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>sorry for the false alarm</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 11:57:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35250&amp;title=lost-selection-after-repopulating-l#35250</guid>
  </item> 
  <item>
   <title><![CDATA[Lost selection after repopulating l : Hi,   When the control would...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35249&amp;title=lost-selection-after-repopulating-l#35249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10634<br /><strong>Posted:</strong> 15 May 2008 at 11:46am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>When the control would hold the references of the selected rows it would be easier, thats correct. But how would the reportcontrol "know" to delete all references? As I was typing this I wondered why not.</DIV><DIV>&nbsp;</DIV><DIV>Please look at the SelectedRows class. You can <strong>add</strong> a selected row to the collection and <strong>DeleteAll</strong> if you want to.</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 11:46:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35249&amp;title=lost-selection-after-repopulating-l#35249</guid>
  </item> 
  <item>
   <title><![CDATA[Lost selection after repopulating l : Hello aaron  Many thanks. This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35248&amp;title=lost-selection-after-repopulating-l#35248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 10634<br /><strong>Posted:</strong> 15 May 2008 at 11:16am<br /><br />Hello aaron<DIV>&nbsp;</DIV><DIV>Many thanks. This should work.&nbsp;But&nbsp;it would be much more elegant and speedier&nbsp;if the control keeps&nbsp;this properties by itself...<img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 11:16:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35248&amp;title=lost-selection-after-repopulating-l#35248</guid>
  </item> 
  <item>
   <title><![CDATA[Lost selection after repopulating l : Hi,  After repopulating mostreferences...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35234&amp;title=lost-selection-after-repopulating-l#35234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10634<br /><strong>Posted:</strong> 15 May 2008 at 8:44am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>After repopulating most&nbsp;references will be lost</DIV><DIV>&nbsp;</DIV><DIV>Expanded rows</DIV><DIV>Selected rows</DIV><DIV>&nbsp;</DIV><DIV>maybe there are more....</DIV><DIV>&nbsp;</DIV><DIV>Before calling Populate store the selected rows (use record index and not row index, they will be different after populating) in an array and after Populate loop the array and select the rows again.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 08:44:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35234&amp;title=lost-selection-after-repopulating-l#35234</guid>
  </item> 
  <item>
   <title><![CDATA[Lost selection after repopulating l : Hi  I use a report control in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35230&amp;title=lost-selection-after-repopulating-l#35230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 10634<br /><strong>Posted:</strong> 15 May 2008 at 7:39am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I use a report control in multi selection mode.&nbsp;Selecting a few rows - OK. Then I change sort order&nbsp;by clicking the appropriate column header. This operation destroys my selection but the last row.</DIV><DIV>&nbsp;</DIV><DIV>The same if I change the sort order programmatically.</DIV><DIV>&nbsp;</DIV><DIV>Is this a feature or a bug. In my opinion selection should be retained also the sort order was changed.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Using: V12, VB6/SP6 under Win2000 and Vista</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 07:39:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10634&amp;PID=35230&amp;title=lost-selection-after-repopulating-l#35230</guid>
  </item> 
 </channel>
</rss>