﻿<?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 - upgrade from WebGrid v6 to WebGrid v7. JavaScript code is broken</title><link>http://www.intersoftsolutions.com/Community/WebGrid/upgrade-from-WebGrid-v6-to-WebGrid-v7-JavaScript-code-is-broken/</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>upgrade from WebGrid v6 to WebGrid v7. JavaScript code is broken</title><link>http://www.intersoftsolutions.com/Community/WebGrid/upgrade-from-WebGrid-v6-to-WebGrid-v7-JavaScript-code-is-broken/</link><pubDate>Tue, 23 Mar 2010 23:48:38 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;WebGrid 7 obfuscates the internal engines. That's why you could not access it anymore. In WebGrid 7, we  enhanced WebGrid to handle Column Context Menu. You can customize it also for Filter menu. Almost all context menu  can be customized/acessed now. So, I don't think you need to use your own .js now.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>upgrade from WebGrid v6 to WebGrid v7. JavaScript code is broken</title><link>http://www.intersoftsolutions.com/Community/WebGrid/upgrade-from-WebGrid-v6-to-WebGrid-v7-JavaScript-code-is-broken/</link><pubDate>Tue, 23 Mar 2010 17:47:54 GMT</pubDate><dc:creator>NK1958</dc:creator><description>&lt;p&gt;We did upgrade from WebGrid v6 to WebGrid v7. Our custom js file used &lt;/p&gt;
&lt;p&gt;'&lt;strong&gt;WGMenuEngine&lt;/strong&gt;' variable which was declared in 'CommonLibrary\WebGrid\V6_0_7200&lt;/p&gt;
&lt;p&gt;\WebGrid_Context.js'.&lt;br /&gt;In v7 you have stoped to use '&lt;strong&gt;WGMenuEngine&lt;/strong&gt;' variable and as a result our&lt;/p&gt;
&lt;p&gt;javascript code is broken (see code below). My question is, how in WebGrid v7 to &lt;/p&gt;
&lt;p&gt;point to the WGMenuEngine object which supposedly is a ColumnContextmenu &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Our broken code: //&lt;strong&gt;WGMenuEngine&lt;/strong&gt; undefined&lt;/p&gt;
&lt;p&gt;if (&lt;strong&gt;WGMenuEngine&lt;/strong&gt;) {&lt;br /&gt;        try {&lt;br /&gt;            mnuFunc = WGMenuEngine.FilterMenuApplyAll;&lt;br /&gt;            WGMenuEngine.FilterMenuApplyAll = fnFilterMnuClick;&lt;br /&gt;            mnuClearFunc = WGMenuEngine.FilterMenuClearAll;&lt;br /&gt;            WGMenuEngine.FilterMenuClearAll = fnFilterMenuClear;&lt;br /&gt;            mnuClearThisFunc = WGMenuEngine.FilterMenuClearThis;&lt;br /&gt;            WGMenuEngine.FilterMenuClearThis = fnFilterMenuClearThis;            &lt;br /&gt;        } catch (err) {&lt;br /&gt;        }&lt;br /&gt;    }&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>