﻿<?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 - WebDesktop - webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</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>webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</link><pubDate>Mon, 09 May 2011 18:36:50 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Note that after further testing, the lost focus action isn’t triggered only by the Grid. If you have other focusable elements, like a button or textbox, the lost focus action such as AlwaysPrompt will take into affect.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</link><pubDate>Fri, 06 May 2011 11:11:23 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When there is no database in the grid and you add the new row, it will not prompt anything because you currently don't have any row to be selected, and WebGrid assumes that you did not perform any lost focus action.&lt;/p&gt;
&lt;p&gt;I'm not sure this is an issue in WebGrid or this is the default behaviour of WebGrid. For the time being, please use SHIFT&amp;#43;Enter when you want to add a new row in the grid that has no database initially.&lt;/p&gt;
&lt;p&gt;I will discuss this issue further with the developer team and I will let you know the update.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</link><pubDate>Thu, 05 May 2011 22:04:03 GMT</pubDate><dc:creator>mzke</dc:creator><description>&lt;p&gt;thanks your answer ,but when i add new row ,i find other problem.when  the database has  no data, i add new row , and &lt;strong&gt;set &lt;/strong&gt;&lt;/p&gt;&lt;pre&gt;&lt;strong&gt;&amp;lt;LayoutSettings AllowAddNew="Yes" NewRowLostFocusAction="AlwaysPrompt"&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/strong&gt; &lt;/pre&gt;i add new row and then lost focus, it&amp;nbsp;&amp;nbsp;never show &amp;nbsp;whether you want to add the new row and cancel the operation. here is my code .thaks.</description></item><item><title>webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</link><pubDate>Thu, 05 May 2011 16:59:57 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please forgive me for lack of understanding about the reported problem. Could you please explain your scenario in more details?&lt;/p&gt;
&lt;p&gt;If you want to add new row, by default you simply press SHIFT &amp;#43; ENTER and the grid will add the new row. Or, you can set NewRowLostFocusAction to AlwaysPrompt. Therefore, each time you add new row and then lost focus, it will prompt you whether you want to add the new row and cancel the operation. Below is the code sample:&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings AllowAddNew="Yes" NewRowLostFocusAction="AlwaysPrompt"&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>webgrid add new row</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webgrid-add-new-row/</link><pubDate>Thu, 05 May 2011 05:05:02 GMT</pubDate><dc:creator>mzke</dc:creator><description>&lt;p&gt; when use webgrid add new row.may i leave this the row,it can insert the datatbase.now is i must  key down ther shift&amp;#43;enter. how can i do.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>