iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
WebGrid 10 - Browser spins CPU 20-25% when "CommonText/Loaded" string resource is validly an empty string
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). However, the GetLoadedText method checks if the string is null or “” empty string and continually calls GetLoadedText in a timeout.
See screenshot below.
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?
Thanks
Mike
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.
... we did didn’t want a loaded text message in our grid ...
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.
function GetStatusBarRightElement() { var grid = ISGetObject("WebGrid1"); var statusBarRightElement = grid.GetElement(WG40.STATUSBARRIGHT, WG40.HTMLCELL); statusBarRightElement.innerHTML = ""; return true; }
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname