﻿<?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 - Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</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>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Tue, 15 Dec 2009 04:36:56 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Unfortunately, it could not be done by our WebGrid.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Tue, 15 Dec 2009 03:59:35 GMT</pubDate><dc:creator>LiuLong</dc:creator><description>&lt;p&gt;thank for you sample.&lt;/p&gt;
&lt;p&gt;when i set grid allow add new row, i don't need put the new row in the top of grid &lt;/p&gt;
&lt;p&gt;i need put the new row below of the previous row.&lt;/p&gt;
&lt;p&gt;for example, first time,there are only a blank row(First row) in my grid, after last cell being filled and user press "Enterkey", a new balnk row will present below of first row and the data of first row will retain.&lt;/p&gt;
&lt;p&gt;can you give me some suggestion or a simple sample?&lt;/p&gt;
&lt;p&gt;thank you very much!&lt;/p&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Tue, 15 Dec 2009 03:47:51 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>I don't know that you are using in BatchUpdateScenario. Of course, it would not work.&lt;div&gt;Please see my attached sample. This should guide you how to retrain the previous row information. &lt;br /&gt;Hope this helps.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;br /&gt;Handy&lt;/div&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Mon, 14 Dec 2009 02:26:28 GMT</pubDate><dc:creator>LiuLong</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;please refer the application in the attachment&lt;/p&gt;
&lt;p&gt;i am try according to your suggestion,but still failed. the new row data still lost.&lt;/p&gt;
&lt;p&gt;In short, when i set grid allow add new row, i don't need put the new row in the top of grid &lt;/p&gt;
&lt;p&gt;i need put the new row below of the previous row.&lt;/p&gt;
&lt;p&gt;for example, first time,there are only a blank row(First row) in my grid, after last cell being filled and user press "Enterkey", a new balnk row will present below of first row and the data of first row will retain.&lt;/p&gt;
&lt;p&gt;can you give me some suggestion or a simple sample?&lt;/p&gt;
&lt;p&gt;thank you very much!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Mon, 14 Dec 2009 01:35:59 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;You will need to set ApplyChangesKey="Enter" properties. With this way, you can use Enter instead of Shift&amp;#43;Enter.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Mon, 14 Dec 2009 01:22:09 GMT</pubDate><dc:creator>LiuLong</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank for your reply.&lt;/p&gt;
&lt;p&gt;but another question:&lt;/p&gt;
&lt;p&gt;using "Enter" Key to navigation,if a row last cell end edit, how can i add a new row below it throuh press "EnterKey" &lt;/p&gt;
&lt;p&gt;how to solved?&lt;/p&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Sun, 13 Dec 2009 23:58:30 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;To retrain the data of previous row, i think you will need to hanlde it in OnAfterAdd client side event. On this event, you can get the added row and set it into the new row.&lt;/p&gt;
&lt;p&gt;e.g&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt; function WebGrid1_OnAfterAdd(controlId, tblName, rowObject, xmlResponseObject) {
            var WebGrid1 = ISGetObject(controlId);
            var newRowel = WebGrid1.RootTable.GetNewRow();
            var newRow = WebGrid1.RootTable.ToRowObject(newRowel);
            var cell1 = newRow.GetCells()[1];
            var cell2 = newRow.GetCells()[2];
            var prevRow = rowObject;
            cell1.SetText(prevRow.Cells[1].Text, true);
            cell2.SetText(prevRow.Cells[2].Text, true);
            return true;
}&lt;/pre&gt;
&lt;p&gt;If you have hidden column and would like to set the value, then i think you also need to set the value of hidden attribute in AddRowEvent (server side). You will need to set directly into your database because the hidden columns is not rendered.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Using "Enter" Key to navigation</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Using-Enter-Key-to-navigation/</link><pubDate>Thu, 10 Dec 2009 20:37:53 GMT</pubDate><dc:creator>LiuLong</dc:creator><description>&lt;p&gt;&lt;span class="style18"&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;i am using WebUI R1 Sp1 in Vs2005.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;i ambinding a null data table to grid and let user to input data and i &lt;/span&gt;&lt;span class="style18"&gt;setting some column to hide&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;i set the grid to allow add new row.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;now, i&amp;nbsp;need to set the every new row's first cell to a default&amp;nbsp;value&amp;nbsp;,user input in other cells.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;then&amp;nbsp; using "Enter" Key to navigation,if a row end edit, how can i add a new row below it throuh press "EnterKey" and retain the data of previous row?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;&lt;/span&gt;&lt;span class="style18"&gt;another question:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="style18"&gt;in my application, there are some hide column,&amp;nbsp;when batch update,how can i set the cell's value of hide column in server-side?&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>