﻿<?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 - jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</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>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Tue, 05 Oct 2010 22:52:53 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As a fellow member, Yudi has said.&lt;/p&gt;
&lt;p&gt;When there are some changes happen on WebGrid. The BatchUpdate will access the status bar which is contains of all information such as Yudi has mentioned above.&lt;/p&gt;
&lt;p&gt;Since you hide the status bar, the BatchUpdate couldn't find all of those buttons and text, that is why it throws an error.&lt;/p&gt;
&lt;p&gt;Hope you understand my explanation.&lt;/p&gt;
&lt;p&gt;Thank you and have a nice day. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Tue, 05 Oct 2010 21:38:55 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;I can't understand why WebGrid maitenance submit by itself.&lt;/p&gt;
&lt;p&gt;Usually, grid is also a element in form, and will save changes with others in the same sumbit, the same transaction.&lt;/p&gt;</description></item><item><title>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Tue, 05 Oct 2010 14:51:23 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Here is my opinion about why does hiding status bar on WebGrid with BatchUpdate enabled may lead to a Javascript exception.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;When BatchUpdate feature enabled, WebGrid will has its status bar filled with some buttons and text related to the BatchUpdate feature, like “x pending change(s).” text; Accept All Changes button; Undo All Changes button; and Review Pending Changes button.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Those buttons and text will be accessed and manipulated through scripts. When the status bar is hiden, the Javascript function that is used to access and manipulate those objects will generate exception since it cannot find the required object.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Tue, 05 Oct 2010 07:25:05 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p&gt;this means never hide status bar in webgrid designer?&lt;/p&gt;</description></item><item><title>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Sun, 03 Oct 2010 23:49:39 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hello Pro,&lt;/p&gt;
&lt;p&gt;I assume you are using a BatchUpdate when the issue occured. This will happen because it will trigger the functions inside the status bar such as Apply All Changes and Undo All Changes. When you hide the status bar, there will be nothing to trigger and will give an exception.&lt;/p&gt;
&lt;p&gt;Use the following workaround to prevent the error.&lt;/p&gt;&lt;pre&gt;function WebGrid1_OnInitialize(controlId) {
	var WebGrid1 = ISGetObject(controlId);
	document.getElementById("dvStatus_WebGrid1").style.display = "none";
	return true;
}&lt;/pre&gt;

&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>jscript error when hide statusbar</title><link>http://www.intersoftsolutions.com/Community/WebGrid/jscript-error-when-hide-statusbar/</link><pubDate>Sun, 03 Oct 2010 05:42:07 GMT</pubDate><dc:creator>progame</dc:creator><description>&lt;p style="text-align:left"&gt;if hide statusbar, error in script:&lt;/p&gt;
&lt;p style="text-align:left"&gt; textEl.innerHTML =this.GetString("CommonText/PendingChanges").replace("{0}",count); &lt;/p&gt;
&lt;p style="text-align:left"&gt; &lt;/p&gt;
&lt;p style="text-align:left"&gt;Microsoft JScript runtime error: 'undefined' is null or not an object&lt;/p&gt;</description></item></channel></rss>