﻿<?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 - Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</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>Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</link><pubDate>Mon, 15 Nov 2010 00:08:30 GMT</pubDate><dc:creator>yudi</dc:creator><category>Persist Checked Rows Across Multiple Pages</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’d like inform you about the status of work item #600.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;WebGrid development team has managed to get the issues fixed in WebGrid 7. This fix is not going to be available in WebGrid 6 since there are too many dependencies on the changes that require new architecture of WebGrid 7.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please try to upgrade to WebGrid 7 and let us know your response.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</link><pubDate>Wed, 10 Feb 2010 02:39:42 GMT</pubDate><dc:creator>yudi</dc:creator><category>Persist Checked Rows Across Multiple Pages</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I was able to repro three issues that you were reported.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;...&lt;br /&gt;We are using WebGrid version 6 and want to find out how to persist checked rows across postbacks. &lt;br /&gt;&lt;br /&gt;problem 1:&lt;br /&gt;When we use the Ctrl key to multiselect rows, it will only select the second row the second time around. For example, select a first row by left clicking with the mouse, then hold the ctrl key down and left click another row. Only one row will be selected where I would expect 2 rows to be selected by now. Repeat the procedure and it works.&lt;br /&gt;...&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;...&lt;br /&gt;Is there a way to enable the rows to be deselected anfter a postback has occurred?&lt;br /&gt;...&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;...&lt;br /&gt;the sample only works in IE and not Firefox - does it not support firefox?&lt;br /&gt;...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;These minor glitches has been forwarded to WebGrid development team to be fixed. A work item, work item #600, has been submitted regarding these minor issues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’ll keep you updated with any news I heard from the team regarding the work item. We’re greatly appreciating this valuable feedback about MultipleRowSelection feature.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you very much.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</link><pubDate>Tue, 09 Feb 2010 07:06:53 GMT</pubDate><dc:creator>robksmith</dc:creator><category>Persist Checked Rows Across Multiple Pages</category><description>&lt;p&gt;Hi Yudi&lt;br /&gt;&lt;br /&gt;Thanks for the response. I installed your sample and it works to an extent in IE.&lt;br /&gt;&lt;br /&gt;However, even in your sample, after a postback, rows which were selected cannot now be de-selected again. Is there a way to enable the rows to be deselected anfter a postback has occurred?&lt;br /&gt;&lt;br /&gt;Also, the sample only works in IE and not Firefox - does it not support firefox?&lt;br /&gt;&lt;br /&gt;From our assembly references:&lt;br /&gt;&lt;br /&gt;ISNet : v3.0.5000.1&lt;br /&gt;ISNet.WebUI : v3.0.5000.1&lt;br /&gt;ISNet.WebUI.WebGrid : v6.0.7200.213&lt;br /&gt;&lt;br /&gt;Thanks Again&lt;br /&gt;&lt;br /&gt;Rob&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</link><pubDate>Mon, 08 Feb 2010 22:30:51 GMT</pubDate><dc:creator>yudi</dc:creator><category>Persist Checked Rows Across Multiple Pages</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Below is my response of your problems.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Problem 1&lt;/span&gt;&lt;/strong&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebGrid has two ways to allow users to perform multiple row selection. The first is using &lt;em&gt;IsRowChecker&lt;/em&gt; feature and the later one is using &lt;em&gt;AllowMultipleSelection&lt;/em&gt; feature.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;em&gt;AllowMultipleSelection&lt;/em&gt; property can’t be used alongside with &lt;em&gt;RowChecker&lt;/em&gt; feature, as both features will cause conflict and undesired effect to the selection result. You should enable only &lt;em&gt;RowChecker&lt;/em&gt; feature (which used checkbox) or the &lt;em&gt;multiple row selection&lt;/em&gt; features (that allow selecting multiple rows without using checkbox and perform multiple row selection by using the user-friendly Ctrl and Shift key combination) at a time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please ensure that RowChecker feature is not enabled when using multiple row selection feature and vice versa.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2; mso-fareast-font-family: simsun; mso-fareast-language: zh-cn; mso-ansi-language: en-us; mso-bidi-language: ar-sa"&gt;I was unable to repro the multiple row selection issue on my end. I created a simple page (the test page is enclosed as attachment) in order to test the multiple row selection issue using WebGrid 6 build 218 and WebUI.NET Framework 3.0 build 751.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2; mso-fareast-font-family: simsun; mso-fareast-language: zh-cn; mso-ansi-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2; mso-fareast-font-family: simsun; mso-fareast-language: zh-cn; mso-ansi-language: en-us; mso-bidi-language: ar-sa"&gt;Please let me know the build number of your WebGrid 6 and WebUI.NET Framework 3.0. You may also modify the attached sample so that it replicates your issue and then send back the sample to us for further investigation.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Problem 2&lt;/span&gt;&lt;/strong&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to preserve checked/selected rows on FlyPostBack&amp;trade; action please set the value of &lt;strong&gt;RestoreRowSelection&lt;/strong&gt; property. This property has four possible values: &lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Disabled - the default value, which turns off the row selection restoration. &lt;/li&gt;&lt;li&gt;RootTableOnly – only checked rows in root table will be restored. &lt;/li&gt;&lt;li&gt;ChildTableOnly – only checked rows in child table will be restored. &lt;/li&gt;&lt;li&gt;All – all checked rows in any table types will be restored. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Persist Checked Rows Across Multiple Pages</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Persist-Checked-Rows-Across-Multiple-Pages/</link><pubDate>Mon, 08 Feb 2010 11:24:59 GMT</pubDate><dc:creator>robksmith</dc:creator><category>Persist Checked Rows Across Multiple Pages</category><description>&lt;p&gt;Hello&lt;br /&gt;&lt;br /&gt;We are using WebGrid version 6 and want to find out how to persist checked rows across postbacks. &lt;br /&gt;&lt;br /&gt;problem 1:&lt;br /&gt;When we use the Ctrl key to multiselect rows, it will only select the second row the second time around. For example, select a first row by left clicking with the mouse, then hold the ctrl key down and left click another row. Only one row will be selected where I would expect 2 rows to be selected by now. Repeat the procedure and it works.&lt;br /&gt;&lt;br /&gt;problem 2:&lt;br /&gt;At present, when we use the Ctrl key to multi select rows, they turn the colour we expect (disregarding problem 1). However, when we move to page 2 of the grid and then move back to page one, the checked row colours have disappeared from the first page. We need to find out how to persist checked rows irrespective of which page numbers we visit. We have set PersistRowChecker="true"which I assumed would do the trick.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Below is a snippet of the main code&lt;br /&gt;&lt;br /&gt;Many thanks in advance&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;iswebgrid:webgrid &lt;br /&gt;		id="WebGridMain" &lt;br /&gt;		runat="server" &lt;br /&gt;		allowautodatacaching="false"&lt;br /&gt;        onexport="WebGridMain_Export"&lt;br /&gt;        onupdaterow="WebGridMain_UpdateRow" &lt;br /&gt;        OnInitializeDataSource="WebGridMain_InitializeDataSource"&lt;br /&gt;        OnPrepareDataBinding="WebGridMain_PrepareDataBinding"  &amp;gt;&lt;br /&gt;        &lt;br /&gt;        &amp;lt;LayoutSettings &lt;br /&gt;			AllowColumnFreezing="Yes"&lt;br /&gt;            AllowMultipleSelection="Yes" &lt;br /&gt;            AllowContextMenu="true"&lt;br /&gt;            PersistRowChecker="true" &lt;br /&gt;			&lt;br /&gt;            AllowDelete="Yes" &lt;br /&gt;			AllowEdit="Yes" &lt;br /&gt;			AllowExport="Yes" &lt;br /&gt;			AllowFilter="Yes" &lt;br /&gt;			AllowSorting="Yes"&lt;br /&gt;		    AlwaysShowHelpButton="False"  &lt;br /&gt;			HeaderClickAction="SortMulti" &lt;br /&gt;			AutoHeight="true"&lt;br /&gt;            FocusNewRowOnLastCell="True" &lt;br /&gt;			GridLineColor="#DCB0C8" &lt;br /&gt;			GridLines="Vertical" &lt;br /&gt;			CellPaddingDefault="5"&lt;br /&gt;            PagingMode="ClassicPaging" &lt;br /&gt;			PagingExportMode ="ExportAllData" &lt;br /&gt;			PagingSize="25" &lt;br /&gt;			PagingLoadMode="Automatic" &lt;br /&gt;			PagingStyleUI="FirstPrevNextLast"&amp;gt;&lt;br /&gt;&lt;br /&gt;            &amp;lt;FreezePaneSettings AbsoluteScrolling="true" ShowInContextMenu="True" /&amp;gt;&lt;br /&gt;            &lt;br /&gt;            &amp;lt;SelectedRowStyle BackColor="Blue" ForeColor="White" /&amp;gt;&lt;br /&gt;            &lt;br /&gt;            &amp;lt;CheckedRowStyle BackColor="Red" ForeColor="White"&amp;gt;&amp;lt;/CheckedRowStyle&amp;gt;&lt;br /&gt;			&lt;br /&gt;			&amp;lt;various styles etc..............&amp;gt;&lt;br /&gt;          &lt;br /&gt;        &amp;lt;/LayoutSettings&amp;gt;&lt;br /&gt;        &lt;br /&gt;&amp;lt;/iswebgrid:webgrid&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Populate the grid with the correct data&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;protected void WebGridMain_InitializeDataSource(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)&lt;br /&gt;{&lt;br /&gt;    // Fill in the grid datasource &lt;br /&gt;    e.DataSource = GridManager.PopulateGridData(...);&lt;br /&gt;	&lt;br /&gt;	// Set gridcolumn width, types, captions etc&lt;br /&gt;    GridManager.PopulateGridColumns(...);&lt;br /&gt;}	&lt;br /&gt;&lt;br /&gt;protected void WebGridMain_PrepareDataBinding(object sender, ISNet.WebUI.WebGrid.DataSourceEventArgs e)&lt;br /&gt;{&lt;br /&gt;    if (!IsPostBack)&lt;br /&gt;    {&lt;br /&gt;        WebGridMain.RetrieveStructure(); &lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>