﻿<?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 - rows</title><link>http://www.intersoftsolutions.com/Community/Tags/rows/</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>How to judge:which rows are checked on serverside?</title><link>http://www.intersoftsolutions.com/Community/Tags/rows/</link><pubDate>Sun, 22 Aug 2010 22:06:41 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>rows</category><category>checked</category><description>&lt;p&gt;How to judge:which rows are checked on serverside?&lt;br /&gt;I need the C# code ,thank you!!!&lt;/p&gt;</description></item><item><title>Truncate grid from clientside</title><link>http://www.intersoftsolutions.com/Community/Tags/rows/</link><pubDate>Thu, 11 Mar 2010 10:31:21 GMT</pubDate><dc:creator>hermancordes@gmail.com</dc:creator><category>grid</category><category>rows</category><category>clientside</category><category>delete</category><description>&lt;p&gt;Currently I'm using the WebGrid in a modalbox as lookup. The Grid doesn't have a datasource assigned, because it's filled from clientside. The user can't interact with the grid in any way; only to select a row.&lt;/p&gt;
&lt;p&gt;Each search action will fill the grid from clientside. However, before each search action, I'd like to empty the grid. I tried this:&lt;/p&gt;&lt;pre&gt;var grid = ISGetObject("SearchResultsWebGrid");
for(var i = 0; i &amp;lt; grid.RootTable.GetRowsCount(); i&amp;#43;&amp;#43;)
{
    grid.RootTable.GetRow(i).Delete();
}
grid.RootTable.UpdateUI()&lt;/pre&gt;
&lt;p&gt;However, it's not giving me javascript warnings or other errors. And, it doesn't remove any rows... I searched this website for a solution, but couldn't find it so far.&lt;/p&gt;
&lt;p&gt;Anyone got a solution or an idea how to truncate (delete all rows) from a webgrid at clientside?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Multiple Row Paste Validation</title><link>http://www.intersoftsolutions.com/Community/Tags/rows/</link><pubDate>Thu, 28 Jan 2010 23:00:50 GMT</pubDate><dc:creator>danjransom@gmail.com</dc:creator><category>validate</category><category>grid</category><category>rows</category><category>paste</category><description>&lt;p&gt;The "Paste Multiple Rows from Clipboard" feature sounds great in theory, but in practice we are finding it impossible to implement in a real-world scenario. &lt;strong&gt;As far as we can tell, there is no way to highlight bad data inserted into the grid when using this feature.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For example: we have a grid with a mix of numeric, date, text, and valuelist (dropdown) columns. Some of the fields are set to require input. When users enter data in the new row at the top of the grid all of the cells are validated ensuring good values. However, using the "Paste Multiple Rows from Clipboard" feature,&lt;strong&gt; users can put in values that are in no way valid&lt;/strong&gt;, i.e. text in a date field, dates in a numeric field, value list items that are not in the list, and &lt;strong&gt;even&amp;nbsp;NULL values in a required field&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Despite the extremely limited amount of documentation on this feature, we have been able to apply some of our own validation using the &lt;span style="font-size: 13px"&gt;OnAddPendingChanges client event. However, even though we can blank out celss&amp;nbsp;or apply default values to the added fields, we can find no way to highlight these bad cells to inform the user of the invalid data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;It would be great if we could just run row.Vaidate() or row.GetElement() but we can't access the rows inserted by the multiple row paste feature using GetRow(#) or any other meathod.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How can we highlight (with color) specific inserted cells to denote bad pasted values?&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>