﻿<?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 - WebGrid 10 - Browser spins CPU when CommonText Loaded string resource is empty string</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---Browser-spins-CPU-when-CommonText-Loaded-string-resource-is-empty-string/</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 10 - Browser spins CPU when CommonText Loaded string resource is empty string</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---Browser-spins-CPU-when-CommonText-Loaded-string-resource-is-empty-string/</link><pubDate>Mon, 19 Dec 2016 01:59:13 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Setting "CommonText/Loaded" to an empty string in order to 'get rid of' the loaded text message will not work since WebGrid will replace it with default loaded text.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span&gt;... we did didn’t want a loaded text message in our grid ...&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You might want to try to do it via JavaScript by obtaining the status bar right element. Following snippet code shows how access the element and set its innerHTML.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;function GetStatusBarRightElement() {
    var grid = ISGetObject("WebGrid1");
    var statusBarRightElement = grid.GetElement(WG40.STATUSBARRIGHT, WG40.HTMLCELL);
    statusBarRightElement.innerHTML = "";

    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid 10 - Browser spins CPU when CommonText Loaded string resource is empty string</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---Browser-spins-CPU-when-CommonText-Loaded-string-resource-is-empty-string/</link><pubDate>Fri, 16 Dec 2016 22:16:32 GMT</pubDate><dc:creator>mdearman@libera.com</dc:creator><description>&lt;p&gt;WebGrid 10 - Browser spins CPU 20-25% when "CommonText/Loaded" string resource is validly an empty string&lt;/p&gt;&lt;p class="MsoNormal"&gt;If the WebGrid string resource "CommonText/Loaded"
string resource is validly set to an empty string (we didn’t want a loaded text
message in our grid).&amp;nbsp; However, the GetLoadedText method checks if the
string is null or “” empty string and continually calls GetLoadedText in a
timeout.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;See screenshot below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt;"&gt;I’m going to try to workaround the issue by setting it to a
“ “ string with a space, but shouldn’t the grid know the difference between
string resource not loaded yet vs an empty text value?&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;span style="font-size: 10pt;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p&gt;











&lt;/p&gt;&lt;p class="MsoNormal"&gt;Mike&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>