﻿<?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 - Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</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>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Mon, 05 Apr 2010 00:34:08 GMT</pubDate><dc:creator>yudi</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for posting the issue on a new thread.&lt;br /&gt;The discussion about “’null’ is null or not an object.” will be continued on the new thread.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Thu, 01 Apr 2010 01:04:33 GMT</pubDate><dc:creator>desaigs81</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;We thought we had similar issue , hense we posted it here. As per your request we have created new thread &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.intersoftpt.com/Community/WebGrid/Enabling-batch-update-without-setting-PromptUnsavedChanges-to-true-gives-JavaScript-error/"&gt;http://www.intersoftpt.com/Community/WebGrid/Enabling-batch-update-without-setting-PromptUnsavedChanges-to-true-gives-JavaScript-error/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please assist asap.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Thu, 01 Apr 2010 00:27:26 GMT</pubDate><dc:creator>yudi</dc:creator><category>NotifyOnLostFocus</category><description>&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;... With these settings, when we change anything in the grid and click on any other button on the page we WILL NOT get the prompt, which is what required, but we get a JavaScript error with the message : &lt;strong&gt;Error: 'null' is null or not an object&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;Any help on this would be greatly appreciable...&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Could you please kindly create a new thread regarding the issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The main topic of your issue is different from this thread’s main topic. Creating a new one will helps to keep each thread in track.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Wed, 31 Mar 2010 06:57:23 GMT</pubDate><dc:creator>desaigs81</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;
&lt;p&gt;We are using WebGrid 7.0 in SharePoint. We are rendering the grid programatically. As we wanted to access the changes both on client side and server side, we have done the following settings::&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;FYI: interSoftWebUIGrid is an instance of WebGrid 7.0.&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;pre&gt;interSoftWebUIGrid.LayoutSettings.StatusBarVisible = true;

interSoftWebUIGrid.LayoutSettings.AllowBatchUpdate = true;

interSoftWebUIGrid.LayoutSettings.BatchUpdateSettings.NotifyOnLostFocus = true;

interSoftWebUIGrid.LayoutSettings.BatchUpdateSettings.PromptUnsavedChanges = false;&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-size: 13px"&gt;With these settings, when we change anything in the grid and click on any other button on the page we WILL NOT get the prompt, which is what required, but we get a JavaScript error with the message : &lt;strong&gt;Error: 'null' is null or not an object&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Any help on this would be greatly appreciable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;G S&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Tue, 26 Jan 2010 22:58:13 GMT</pubDate><dc:creator>yudi</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;We need to check your project in order to determine what may cause the issue (the ‘PromptUnsavedChanges’ property is not available).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Could you please send us a simple sample project (complete with the WebGrid 6 dll file that you are currently use) to be investigated further?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Tue, 26 Jan 2010 09:47:55 GMT</pubDate><dc:creator>jayaprakashtv</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;I am attaching the screenshots of the version of webgrid and batch update properties that i get. I do not see  &lt;span style="font-family: segoe ui; color: #1f497d"&gt;PromptUnsavedChanges in the list. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: segoe ui; color: #1f497d"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: segoe ui; color: #1f497d"&gt;&lt;/span&gt; &lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Tue, 26 Jan 2010 05:09:44 GMT</pubDate><dc:creator>yudi</dc:creator><category>NotifyOnLostFocus</category><description>&lt;blockquote&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am using webgrid with batch update. I want to disable the message box(please see the attached image)&amp;nbsp;which shows when focus is changed. I tried setting the attribute&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If I refer to your first post in this thread, you said that you are using WebGrid with batch update enabled. Batch update scenario is introduced for the first time in WebGrid 7 version.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Your last post, that states that you are using WebGrid 6, makes me wonder how did you get the screenshot on the first post if you are using WebGrid 6 (since WebGrid hasn’t support batch update scenario yet).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let me know if you have different scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Fri, 22 Jan 2010 11:14:24 GMT</pubDate><dc:creator>jayaprakashtv</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;Sorry for not mentioning the version of WebGrid in my previous post. I am using WebGrid 6.0 and it does not support this property. Is there an alternate solution for this in WebGrid 6.0?&lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Fri, 22 Jan 2010 11:11:34 GMT</pubDate><dc:creator>jayaprakashtv</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;Thank you Yudi!!&lt;/p&gt;
&lt;p&gt;Sorry for not mentioning the version of WebGrid in my previous post. I am using WebGrid 6.0 and it does not support this property. Is there an alternate solution for this in WebGrid 6.0?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Fri, 22 Jan 2010 01:21:10 GMT</pubDate><dc:creator>yudi</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebGrid 7 has ‘PromptUnsavedChanges’ that determines whether or not user should be prompted when there is unsaved changes in batch update. Simply set the value of this property to ‘false’ in order to suppress the message box.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;This should help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;example:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings Hierarchical="True" AllowAddNew="Yes" AllowColumnMove="Yes" AllowDelete="Yes"
    &amp;lt;BatchUpdateSettings AllowReviewChanges="True" NotifyOnLostFocus="True" &lt;span style="color: #c00000"&gt;PromptUnsavedChanges="false"&lt;/span&gt; /&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;</description></item><item><title>Grid Batch Update - How to disable Message Box</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid-Batch-Update---How-to-disable-Message-Box/</link><pubDate>Thu, 21 Jan 2010 17:51:36 GMT</pubDate><dc:creator>jayaprakashtv</dc:creator><category>NotifyOnLostFocus</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am using webgrid with batch update. I want to disable the message box(please see the attached image) which shows when focus is changed. I tried setting the attribute &lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;NotifyOnLostFocus&lt;/span&gt;&lt;/span&gt; to false but still the message box pops up. Could you please suggest me how to suppress this message box?&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;BatchUpdateSettings&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;NotifyOnLostFocus&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="false"/&amp;gt;&lt;/span&gt;&lt;/span&gt; 

&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>