﻿<?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 - Can't update rowChecker in any events that occur after client binding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-update-rowChecker-in-any-events-that-occur-after-client-binding/</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>Can't update rowChecker in any events that occur after client binding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-update-rowChecker-in-any-events-that-occur-after-client-binding/</link><pubDate>Fri, 10 May 2013 05:01:07 GMT</pubDate><dc:creator>Hans</dc:creator><category>RowChecker</category><description>Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your recent inquiry regarding WebGrid.&lt;br /&gt;&lt;br /&gt;I tried to reproduce your recent scenario by using WebGrid sample, ClientBinding_WebService.aspx file.&lt;br /&gt;&lt;br /&gt;I add some line of code in OnPostRender client side event to Check and Select the first row.&lt;br /&gt;I use Check() method to check the checkbox and Select() method to select the row.&lt;br /&gt;&lt;br /&gt;However, it seems the Check() and Select() method did work if I run the sample.&lt;br /&gt;I need to use setTimeout method to make the Check() and Select() method works.&lt;br /&gt;&lt;br /&gt;Is this the issue that occurs on your end?&lt;br /&gt;If yes, so you didn’t get this issue before using WebGrid version 7.0.7200.533?&lt;br /&gt;And you also can perform Check() method in OnPostRender client side event, even in OnInitializeRow client side event, before you use WebGrid version 7.0.7200.533 ?&lt;br /&gt;&lt;br /&gt;Please forgive me for lack of understanding the problem and please correct me if I wrong.&lt;br /&gt;&lt;br /&gt;I also attached the modified sample (ClientBinding_WebService.aspx file) as well. You just simply add the sample to WebGrid sample solution to run the sample.&lt;br /&gt;&lt;br /&gt;For your information, if this problem is an issue indeed, the fix only available for WebGrid v8, because we have discontinued WebGrid v7.&lt;br /&gt;&lt;br /&gt;I apologize for any inconvenience that may cause you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.</description></item><item><title>Can't update rowChecker in any events that occur after client binding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Cant-update-rowChecker-in-any-events-that-occur-after-client-binding/</link><pubDate>Tue, 07 May 2013 23:26:01 GMT</pubDate><dc:creator>intersoft@competent.com</dc:creator><category>RowChecker</category><description>&lt;p&gt;We have a grid (version 7.0.7200.533) that is bound on the client through web services. This grid contains a rowChecker column that allows users to select items in the grid.&lt;/p&gt;
&lt;p&gt;The application mimics a file management system, which allows the user to navigate a tree folder structure. Each time a different folder is selected, the grid is refreshed with information related to that folder.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;As the user selects items, we persist information about the selected items in a separate window so that the user can select multiple items from separate folders.&lt;/p&gt;
&lt;p&gt;When the user navigates to a folder, we use the OnInitializeRow client event to show the user any items that they had previously selected in that folder.&lt;/p&gt;
&lt;p&gt;This has worked for a very long time, but in the recent past we updated to a service release (not exactly sure which one broke it) that caused this to stop working. No matter what value we set (the cell value directly, the Check property on the row, or the Check() method on the row), the RowChecker cell is not set.&lt;/p&gt;
&lt;p&gt;We have also tried hooking the OnPostRender and OnDataBound methods with an equal amount of failure.&lt;/p&gt;
&lt;p&gt;Or final hack at this issue was to collect the list of rows to be checked in OnInitializeRow, then in OnPostRender, set a timeout with code to process the list of rows and call Check() on each of them. This works, but is a dreadful hack.&lt;/p&gt;
&lt;p&gt;Is there any way to get back to the previous behavior?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>