﻿<?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 - WebMenu major performance issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---WebMenu-major-performance-issue/</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 - WebMenu major performance issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---WebMenu-major-performance-issue/</link><pubDate>Wed, 11 Jan 2017 06:05:58 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You might want to try to set the WebGrid context menu position manually by using WebGrid &lt;strong&gt;OnRowContextMenu&lt;/strong&gt; client-side event and invoking &lt;strong&gt;Show(x, y)&lt;/strong&gt; method. Following snippet code shows how to show WebGrid context menu at 0px from left and 0px from top:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject) {
    var WebGrid1 = ISGetObject(controlId);

    // menuObject.Show(x, y);
    menuObject.Show(0, 0);

    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 - WebMenu major performance issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---WebMenu-major-performance-issue/</link><pubDate>Tue, 20 Dec 2016 17:35:49 GMT</pubDate><dc:creator>mdearman@libera.com</dc:creator><description>&lt;p&gt;By default, we use MenuWindowType=Normal except when the IFRAME the grid is in is too narrow (less than 375px). &amp;nbsp;When its too narrow, the WebGrid's context WebMenu doesn't display properly. &amp;nbsp;That is why we worked around the issue using the Popup. &amp;nbsp;You make a good point about that being IE specific though. &amp;nbsp;The application is IE specific currently, but will be expanded to cross-browser soon too.&lt;/p&gt;&lt;p&gt;Anything we can do so the Normal MenuWindowType can display better with narrow browser windows/IFRAMEs?&lt;/p&gt;&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>WebGrid 10 - WebMenu major performance issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---WebMenu-major-performance-issue/</link><pubDate>Mon, 19 Dec 2016 02:04:44 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;&lt;span&gt;... This approach has been working since 2010 but has created a new problem in WebGrid 10 I believe due to the changes with using the UseCssFramework in the WebGrid/WebMenu. ...&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Basically, the Popup MenuWindowType is created using window.createPopup() method. This MenuWindowType will allow components that used WebMenu Engine such as WebContextMenu, WebMenuBar, WebToolBar, WebDesktopManager and WebNotification will have its window displayed in a special "popup" type when running in Internet Explorer browser.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The main advantage of the "popup" window type is its ability to display its content out of the browser's window boundary. However, Internet Explorer 7.0 has removed this function from "popup" object and introduced limited positioning by design.
*For more detail, please check createPopup method page in &lt;a href="https://msdn.microsoft.com/en-us/library/ms536392(v=vs.85).aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;To overcome this limitation, it is recommended to use the new &lt;strong&gt;&lt;em&gt;Normal&lt;/em&gt;&lt;/strong&gt; option for &lt;strong&gt;&lt;em&gt;MenuWindowType&lt;/em&gt;&lt;/strong&gt;. This new &lt;em&gt;WindowType&lt;/em&gt; solves numerous display and positioning issues that occurred in Internet Explorer 7.0 (and newer). Note that these issues are &lt;em&gt;behavior by design&lt;/em&gt; in Internet Explorer 7.0 (and newer) which limits the usage of "popup" object to prevent security issues.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid 10 - WebMenu major performance issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-10---WebMenu-major-performance-issue/</link><pubDate>Fri, 16 Dec 2016 22:13:19 GMT</pubDate><dc:creator>mdearman@libera.com</dc:creator><description>&lt;p&gt;WebGrid 10 - WebMenu when MenuWindowType = "Popup" in document with a lot of stylesheets causes major performance issue in WebMenuEngine.GetCssStyleString&lt;/p&gt;&lt;p class="MsoNormal"&gt;Using WebGrid 10 with IE 11, I have code in the OnRowContextMenuclient side event handler that checks if the windows width is too small (grid
within a narrow iframe (~ 350 pixels)), and if so, switches the context menu’s
object to use a Popup instead so it can pop over the iframes boundaries:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; font-family: Consolas;"&gt;oMenu.MenuWindowType&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Consolas; color: rgb(163, 21, 21);"&gt;"Popup"&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;br&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Consolas;"&gt;oMenu.MenuStyleSettings.MenuWindowType&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Consolas; color: rgb(163, 21, 21);"&gt;"Popup"&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Consolas;"&gt;;&lt;/span&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;This approach has been working since 2010 but has created a
new problem in WebGrid 10 I believe due to the changes with using the
UseCssFramework in the WebGrid/WebMenu.&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;My document has 12 stylesheets including bootstrap,
jqueryUI, etc.&amp;nbsp; One stylesheet has 14723 rules in it.&amp;nbsp; When the
context menu is about to be shown, IE/JavaScript spends a long time in the
WebMenu component, in what appears to be the WebMenuEngine.GetCssStyleString
trying to find the desired rules to customize the menu look.&amp;nbsp; I am using
the Bootstrap ISNet theme too.&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;When it freezes IE, IE gives a “&amp;lt;host&amp;gt; is not
responding due to a long running script”.&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;How can I resolve this?&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;</description></item></channel></rss>