﻿<?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 - paste</title><link>http://www.intersoftsolutions.com/Community/Tags/paste/</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>Script Access to “Paste Multiple Rows from Clipboard”</title><link>http://www.intersoftsolutions.com/Community/Tags/paste/</link><pubDate>Tue, 09 Feb 2010 14:49:12 GMT</pubDate><dc:creator>danjransom@gmail.com</dc:creator><category>javascript</category><category>Multiple</category><category>paste</category><description>&lt;p&gt;Is there any way to access the &lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;“Paste Multiple Rows from Clipboard” feature from javascript outside of the row context menu? We want users to be able to paste multiple rows at a single time into an empty grid. However, if the grid is empty and there are no rows, there is no way to access the &lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;“Paste Multiple Rows from Clipboard” command.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: text1; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Is there a way to perform this function from a button outside the grid? Alternatively, is there a way to show the row context menu even when there are no rows?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Multiple Row Paste Validation</title><link>http://www.intersoftsolutions.com/Community/Tags/paste/</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>