<?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 : RemoveAt + Populate</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : RemoveAt + Populate]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 19:13:40 +0000</pubDate>
  <lastBuildDate>Fri, 14 Sep 2007 08:51:21 +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=7998</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[RemoveAt + Populate : Thanks Nighthawk...much appreciated!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25860&amp;title=removeat-populate#25860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2527">elmsoftware</a><br /><strong>Subject:</strong> 7998<br /><strong>Posted:</strong> 14 September 2007 at 8:51am<br /><br />Thanks Nighthawk...much appreciated!]]>
   </description>
   <pubDate>Fri, 14 Sep 2007 08:51:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25860&amp;title=removeat-populate#25860</guid>
  </item> 
  <item>
   <title><![CDATA[RemoveAt + Populate : How about:   lngTopRow = rp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25842&amp;title=removeat-populate#25842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=570">nighthawk</a><br /><strong>Subject:</strong> 7998<br /><strong>Posted:</strong> 13 September 2007 at 7:40pm<br /><br /><font face="Arial, Helvetica, sans-serif">How about:<br><table width="99%"><tr><td><pre class="BBcode"><br>lngTopRow = rpt.TopRowIndex<br></font><font face="Arial, Helvetica, sans-serif">rpt.Records.RemoveAt (Row.Record.Index)</font><div><font face="Arial, Helvetica, sans-serif">rpt.Populate</font></div><font face="Arial, Helvetica, sans-serif">rpt.TopRowIndex = lngTopRow<br></pre></td></tr></table></font>]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 19:40:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25842&amp;title=removeat-populate#25842</guid>
  </item> 
  <item>
   <title><![CDATA[RemoveAt + Populate : Question Setup When deleting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25833&amp;title=removeat-populate#25833</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2527">elmsoftware</a><br /><strong>Subject:</strong> 7998<br /><strong>Posted:</strong> 13 September 2007 at 3:27pm<br /><br /><DIV><U><strong>Question Setup</strong></U></DIV><DIV>When deleting a record from the ReportControl, I use the 'RemoveAt' method.&nbsp; When done with the&nbsp;'RemoveAt's, I call the 'Populate' method as recommended by the ReportControl help.</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT face="Courier New, Courier, mono">rpt.Records.RemoveAt (Row.Record.Index)</FONT></DIV><DIV><FONT face="Courier New"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New">&nbsp;&nbsp;&nbsp; rpt.Populate</FONT></DIV><DIV>&nbsp;</DIV><DIV>When I have many rows in the ReportControl and the scrollbar has been scrolled down towards the bottom and I perform a 'delete' on a record using code similar to the above snippet, the Populate method refreshes the whole ReportControl with focus now on the top record.&nbsp;&nbsp;This is undesirable and not the typical user experience when working with lists/grids.</DIV><DIV>&nbsp;</DIV><DIV>What I would like is for the ReportControl to Remove just the row that has been deleted and keep all previous rows visible just the way they were.</DIV><DIV>&nbsp;</DIV><DIV>What is the recommended way of doing this?</DIV><DIV>&nbsp;</DIV><DIV>All the best,</DIV><DIV>&nbsp;</DIV><DIV>John</DIV>]]>
   </description>
   <pubDate>Thu, 13 Sep 2007 15:27:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7998&amp;PID=25833&amp;title=removeat-populate#25833</guid>
  </item> 
 </channel>
</rss>