﻿<?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 - MenuContext-Error</title><link>http://www.intersoftsolutions.com/Community/Tags/MenuContext-Error/</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 to Webgrid 8.0 Export fails with MenuContext Error</title><link>http://www.intersoftsolutions.com/Community/Tags/MenuContext-Error/</link><pubDate>Thu, 22 Aug 2013 11:51:11 GMT</pubDate><dc:creator>jtlm1977</dc:creator><category>Export WebGrid</category><category>MenuContext-Error</category><category>WebGrid 8.0</category><category>MenuContext-Error WebGrid Export</category><description>&lt;p&gt;Selecting the webgrid export button causes a failure in javascript. All other features work when app runs as localhost and deployed to application server.&lt;/p&gt;
&lt;p&gt;The export feature for the previous version of webgrid worked with no issues for excel, pdf, etc.&lt;/p&gt;
&lt;p&gt;There is no specific codebehind for these export features as it uses the builtin functionality.&lt;/p&gt;
&lt;p&gt;This was an upgrade where old version of webgrid assemblies were replaced with new assemblies.  The webgrid worked with minor adjustments but export feature does not.&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Javascript hilighted: m93519:&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;(ve6b49) { &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; v1fa22 =&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; WebContextMenu(ve6b49.Id &amp;#43;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"_Export"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;The popup menu contains:&amp;nbsp; Microsoft JScript runtime error: 'WebContextMenu' is undefined&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;Environment: &lt;/p&gt;&lt;p&gt;VS 2008 (VB code);&amp;nbsp; .NET 3.5 Framework &lt;/p&gt;&lt;p&gt;The script library being referenced is "/CommonLibrary/WebGrid/V8_0_7200/"&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;The web desktop script directory being referenced is "/CommonLibraryTemp/WebDesktop/V3_0_7200/"&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;ISNet: runtime version v2.0.50727, version 3.0.5000.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;ISNet.WebUI: runtime version v2.0.50727, version 3.0.5000.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;ISNet.WebUI.Resources: runtime version v2.0.50727, version  3.0.5000.400&lt;/span&gt;&lt;/p&gt;ISNet.WebUI.WebGrid: runtime version v2.0.50727, version 8.0.7200.250&lt;/span&gt; 

&lt;p&gt;&lt;span style="font-size: 13px"&gt;ISNet.WebUI.WebGrid.Resources: runtime version v2.0.50727, version&amp;nbsp; 8.0.7200.250&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;HTML Code attached; javascript on error page attached.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;Codebehind imports:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;Imports&lt;span style="font-size: 13px"&gt; System.Web.UI&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;Imports&lt;span style="font-size: 13px"&gt; System.Web.UI.WebControls&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;Imports&lt;span style="font-size: 13px"&gt; System.Web.UI.HtmlControls&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;Imports&lt;span style="font-size: 13px"&gt; ISNet.WebUI.WebGrid&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Webgrid related functions on the codebehind page shown in the Insert Code window.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>