﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - IsRowChecker Checkbox column only last one selected in postback data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/IsRowChecker-Checkbox-column-only-last-one-selected-in-postback-data/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>IsRowChecker Checkbox column only last one selected in postback data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/IsRowChecker-Checkbox-column-only-last-one-selected-in-postback-data/</link><pubDate>Sun, 08 Jan 2012 23:05:21 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello David, &lt;/p&gt;&lt;p&gt;Have you seen our WebGrid sample PreserveCheckedRows.aspx? The sample persists the check state after postback. Hope this will guide you about how to do it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>IsRowChecker Checkbox column only last one selected in postback data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/IsRowChecker-Checkbox-column-only-last-one-selected-in-postback-data/</link><pubDate>Fri, 06 Jan 2012 09:05:07 GMT</pubDate><dc:creator>davidpendry</dc:creator><description>&lt;p&gt;Yet again i find myself battling with a trivial task..&lt;/p&gt;
&lt;p&gt;I have a grid with a column of type rowchecker. When the postback occurs due a button being clicked, only the last selected row in the IsRowChecker column is being returned with a call to the:&lt;/p&gt;
&lt;p&gt;ArrayList checkedIDs = wgMyGrid.RootTable.GetCheckedRows(); &lt;/p&gt;
&lt;p&gt;The only way i can select all the rows is by using the column header checkbox, which selects all the rows or using the [shift] with mouse click. Selecting/Unselecting the rows is only returning the last one selected. I dont have the time to post the code.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;IsRowChecker column below..&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &amp;lt;ISWebGrid:WebGridColumn&lt;br /&gt; AllowGrouping="Yes"&lt;br /&gt; AllowSizing="No"&lt;br /&gt; AllowSorting="No"&lt;br /&gt; Bound="False" &lt;br /&gt; ColumnType="CheckBox"&lt;br /&gt; EditType="Checkbox"&lt;br /&gt; Name="PublishRow"&lt;br /&gt; Caption="Publish"&lt;br /&gt; ShowInSelectColumns="Yes"&lt;br /&gt; ButtonAutoPostback="true"&lt;br /&gt; IsRowChecker="true" &lt;br /&gt; IsRowHeader="true"&lt;br /&gt; AllowMultiLine="true" &lt;br /&gt; Width="25px"&amp;gt;&lt;br /&gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Anyone any ideas ??&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;David&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>