﻿<?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 - WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</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>WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</link><pubDate>Sun, 19 Jun 2011 22:44:22 GMT</pubDate><dc:creator>lili</dc:creator><category>WebGridRowChecker</category><category>RowChecker</category><category>GetCheckedRows</category><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Here's the link to the sample in our live sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.intersoftpt.com/cs/WebGrid/RowCheckerColumn.aspx?noframe=1&amp;amp;path=/WebGrid/Multiple%20Row%20Selection"&gt;http://live.intersoftpt.com/cs/WebGrid/RowCheckerColumn.aspx?noframe=1&amp;amp;path=/WebGrid/Multiple%20Row%20Selection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or, you can find the samples in our offline sample From Start Menu: &lt;/p&gt;
&lt;p&gt;Intersoft WebUI Studio 2011 &amp;gt; WebUI Studio For ASP.NET &amp;gt; WebGrid 7 &amp;gt; C# Samples. Open the sample, find the ASPX page named RowCheckerColumn.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili&lt;/p&gt;</description></item><item><title>WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</link><pubDate>Wed, 15 Jun 2011 07:55:12 GMT</pubDate><dc:creator>neil.turner@ntd.co.uk</dc:creator><category>WebGridRowChecker</category><category>RowChecker</category><category>GetCheckedRows</category><description>&lt;p&gt;Could you give me a url for the &lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; "&gt;WebGrid sample named RowCheckerColumn?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; "&gt;I couldn't find it in the samples&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</link><pubDate>Tue, 14 Jun 2011 23:03:11 GMT</pubDate><dc:creator>lili</dc:creator><category>WebGridRowChecker</category><category>RowChecker</category><category>GetCheckedRows</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you set the PersistRowChecker to True in the LayoutSetting of your WebGrid? You need to set that property like this:&lt;/p&gt;&lt;pre&gt; &amp;lt;LayoutSettings PersistRowChecker="True"&amp;gt;
 &amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;You can refer to our WebGrid sample named RowCheckerColumn as a reference.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lili&lt;/p&gt;</description></item><item><title>WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</link><pubDate>Tue, 14 Jun 2011 11:19:48 GMT</pubDate><dc:creator>neil.turner@ntd.co.uk</dc:creator><category>WebGridRowChecker</category><category>RowChecker</category><category>GetCheckedRows</category><description>&lt;p&gt;So I've managed to get a really basic version to return the count of checked rows using GetCheckedRows but that seems to return an arraylist of undefined strings.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Could someon let me know how to use what GetCheckedRows returns&lt;/p&gt;</description></item><item><title>WebGrid RowChecker column not persisting on postback so GetCheckedRows is always empty</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-RowChecker-column-not-persisting-on-postback-so-GetCheckedRows-is-always-empty/</link><pubDate>Tue, 14 Jun 2011 09:34:18 GMT</pubDate><dc:creator>neil.turner@ntd.co.uk</dc:creator><category>WebGridRowChecker</category><category>RowChecker</category><category>GetCheckedRows</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a Webgrid with a RowChecker and a button to run an action on the checked rows.&lt;/p&gt;
&lt;p&gt;However getCheckedRows always returs empty and on clickikg the button all the checkboxes in the grid are cleared.&lt;/p&gt;
&lt;p&gt;I have coopied the code posted on this forum before but it still returns 0. I am using WebGrid 7&lt;/p&gt;
&lt;p&gt;This is the op of my grid&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;    &amp;lt;ISWebGrid:WebGrid ID="wgArchive" runat="server" DataSourceID="sdsAppointments"&amp;gt;&lt;/p&gt;
&lt;p&gt;        &amp;lt;RootTable Caption="Visits" DataKeyField="EntityId"&amp;gt;&lt;/p&gt;
&lt;p&gt;            &amp;lt;Columns&amp;gt;&lt;/p&gt;
&lt;p&gt;                &amp;lt;ISWebGrid:WebGridColumn ColumnType="CheckBox" IsRowChecker="True" Name="RowChecker"&amp;gt;&lt;/p&gt;
&lt;p&gt;                &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;And this is the code the button runs&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;        protected void btnArchive_Click(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt;        {&lt;/p&gt;
&lt;p&gt;            lbMsg.Text = wgArchive.RootTable.Rows.Length.ToString() &amp;#43; " rows affected ";&lt;/p&gt;
&lt;p&gt;            foreach (string keyValue in wgArchive.RootTable.GetCheckedRows())&lt;/p&gt;
&lt;p&gt;            {&lt;/p&gt;
&lt;p&gt;                lbMsg.Text &amp;#43;= keyValue &amp;#43; " ; \n";&lt;/p&gt;
&lt;p&gt;            }&lt;/p&gt;
&lt;p&gt;        }&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>