﻿<?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 - WebTextEditor - WebContextMenu is undefined</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebContextMenu-is-undefined/</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>WebContextMenu is undefined</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebContextMenu-is-undefined/</link><pubDate>Wed, 23 Apr 2014 21:33:44 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;WebContextMenu is part of WebDesktop control. Yes, adding reference to WebDesktop assembly should fix the problem.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;WebTextEditor has WebDesktopScriptDirectory property. This property gets or sets the IIS path to locate WebDesktop’s script directory. This property is only applicable when SmartWebResources is not enabled.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;WebUI:WebTextEditor ID="_Editor"
    ...
    ImagesDirectory="~/media/images/WebTextEditor/"
    ScriptDirectory="~/ExternalControls/Intersoft/WebTextEditor/"
    SharedScriptDirectory="~/ExternalControls/Intersoft/Shared/"
    WebDesktopScriptDirectory="~/ExternalControls/Intersoft/WebDesktop/"
    ...
&amp;lt;/WebUI:WebTextEditor&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebContextMenu is undefined</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebContextMenu-is-undefined/</link><pubDate>Wed, 23 Apr 2014 15:42:45 GMT</pubDate><dc:creator>MichelRacicot</dc:creator><description>&lt;p&gt;Solution:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Add reference to WebDesktop.dll&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Add the following in web.config:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;In HttpHandlers:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &amp;lt;add path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" validate="true"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;In WebServer Handlers:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &amp;lt;remove name="ISRes.axd_GET"/&amp;gt;&lt;/p&gt;
&lt;p&gt;      &amp;lt;add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That should be documented somewhere...&lt;/p&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</description></item><item><title>WebContextMenu is undefined</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebContextMenu-is-undefined/</link><pubDate>Wed, 23 Apr 2014 09:46:53 GMT</pubDate><dc:creator>MichelRacicot</dc:creator><description>I'm trying the WebTextEditor for the first time and so far, after I put the control in my page and setted the directories correctly, I get that JavaScript error message:&amp;nbsp;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;"WebContextMenu is undefined"&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;It came from WebTextEditor_Toolbar.js,  &lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;function(vfef17) { var v3d981 =new WebContextMenu("ctxTemp"); var ve0622 =wt6c20.m4b665(vfef17,v3d981); v3d981 =null; return ve0622; }&lt;br /&gt;&lt;br /&gt;It seems that a JavaScript object named WebContextMenu is not known.&lt;br /&gt;&lt;br /&gt;What am I missing?&lt;br /&gt;&lt;br /&gt;Here is my code:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;div&gt;    &amp;lt;WebUI:WebTextEditor ID="_Editor"&lt;/div&gt;
&lt;div&gt;        runat="server"&lt;/div&gt;
&lt;div&gt;        Height="120px"&lt;/div&gt;
&lt;div&gt;        ImagesDirectory="~/media/images/WebTextEditor/"&lt;/div&gt;
&lt;div&gt;        ScriptDirectory="~/ExternalControls/Intersoft/WebTextEditor/"&lt;/div&gt;
&lt;div&gt;        SharedScriptDirectory="~/ExternalControls/Intersoft/Shared/"&lt;/div&gt;
&lt;div&gt;        EnableContextMenu="false"&lt;/div&gt;
&lt;div&gt;        RenderingMode="HTML5"&amp;gt;&lt;/div&gt;
&lt;div&gt;        &lt;/div&gt;
&lt;div&gt;        &amp;lt;RootTextEditor&amp;gt;&lt;/div&gt;
&lt;div&gt;            &amp;lt;WatermarkSettings EnableWatermark="false" /&amp;gt;&lt;/div&gt;
&lt;div&gt;        &amp;lt;/RootTextEditor&amp;gt;&lt;/div&gt;
&lt;div&gt;        &lt;/div&gt;
&lt;div&gt;        &amp;lt;ViewSettings EnableHTMLView="false" EnablePreview="false" EnableDesignView="false" EnableSplitView="false" /&amp;gt;&lt;/div&gt;
&lt;div&gt;        &lt;/div&gt;
&lt;div&gt;        &amp;lt;ToolBarSettings ToolBarMode="Complete"  /&amp;gt;&lt;/div&gt;
&lt;div&gt;    &amp;lt;/WebUI:WebTextEditor&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>