﻿<?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 - Incompatibility with other library</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Incompatibility-with-other-library/</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>Incompatibility with other library</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Incompatibility-with-other-library/</link><pubDate>Tue, 08 May 2012 00:30:14 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;We never do testing which involving third party control.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I have managed to be able to reproduce the reported problem in a simple sample. This problem will be forwarded to development team for further investigation. I’ll keep you updated with any news or comments I heard from the team regarding this matter.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Incompatibility with other library</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Incompatibility-with-other-library/</link><pubDate>Mon, 07 May 2012 15:53:41 GMT</pubDate><dc:creator>timby</dc:creator><description>&lt;p /&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;I have an existing project that makes use of both ComponentArt and Intersoft controls. After updating, the pages that have both ComponentArt (Menu) and Intersoft (WebGrid) contorls on them raise the following JavaScript error:&lt;/span&gt;&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; "&gt;&lt;span style="font-size: 10pt; "&gt;Error: Unable to get value of the property 'notifyScriptLoaded': object is null or undefined&lt;/span&gt;&lt;/blockquote&gt;
&lt;p&gt;The issue no longer occurs if I remove either one of the components.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;I believe both libraries use their own script manager libraries to serve up dynamic client side resources. At the bottom of the Intersoft scripts is the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;if (typeof(Sys) !== "undefined") Sys.Application.notifyScriptLoaded();&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I did not see a similar reference in the ComponentArt scripts, but I did see notifyScriptLoaded mentioned a few times in the forums.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;In Microsoft's documentation of notifyScriptLoaded, it says the API is obsolete. It also says the following:&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Do not call the notifyScriptLoaded method from scripts that are embedded in assemblies. The script resource handler adds an instance of this call, and a second call will cause an error. If you must embed a file that calls notifyScriptLoaded in an assembly, you can prevent an error by setting the NotifyScriptLoaded property of the ScriptReference object that points to the script to false. (The default is true.)&lt;/span&gt;&lt;/p&gt;&lt;p /&gt;&lt;/blockquote&gt;
&lt;p /&gt;
&lt;p&gt;Based on this, if both ComponentArt and Intersoft call notifyScriptLoaded, then the second call will cause an error. I was wondering if this is why I'm getting an error when both controls from ComponentArt and Intersoft are loaded on the same page?&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Please note that if I disable the script handler for either library, it works as expected. However, I would prefer to use all features of the library, including performance optimizations through the use of script hanlders.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;I am using the latest versions from both vendors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;Please advise.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;P.S. I have already reported this to ComponentArt.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;P.P.S. This is the third time that I am posting this in this community. I'm trying a shorter subject this time to see if it helps...&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>