HtmlEditor not working with Ext.NET 1.0 RC1

  1. #1

    [CLOSED] HtmlEditor not working with Ext.NET 1.0 RC1

    Hi,

    i'm experiencing troubles to add a genericplugin on Htmleditor component.

    <ext:HtmlEditor ID="HtmlEditor1" runat="server"  >
                                            <Plugins><ext:GenericPlugin ID="GenericPlugin2" runat="server"  Path="extJs/Ext.ux.form.HtmlEditor.Word.js" InstanceName="Ext.ux.form.HtmlEditor.Word" />  
                                                </Plugins>
                                            </ext:HtmlEditor>
    On Firebug i have this error :

    Ext.ux.form is undefined.


    Do I need to specify ext-all.js or something like that on the header of the aspx page ?

    Thank you for help.
    Last edited by beufreecasse; Jun 13, 2011 at 11:07 PM.
  2. #2
    I had the same issue using VinylFoxs' plugins. See my post here. To work round it you basically dont need the Path= part of the Plugins node.

    Instead, you add the javscript include into your View ie:

     <script src="<%=Url.Content("~/Scripts/plugins/htmleditor/src/Ext.ux.form.HtmlEditor.Word.js") %>"
            type="text/javascript"></script>
    .. or whatever path you have. And then just as you've done, include a genericPlugin (without the path tag).
  3. #3
    It's working now!!

    My problem was that i didn't have the Ext.ns('Ext.ux.form.HtmlEditor'); at the begining of the js.

    Thanks a lot.

Similar Threads

  1. HyperLink in HtmlEditor is not working
    By reezvi in forum 1.x Help
    Replies: 6
    Last Post: May 17, 2012, 5:40 PM
  2. [CLOSED] ListView with HtmlEditor -> HtmlEditor value is null
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Apr 17, 2012, 12:50 AM
  3. Replies: 5
    Last Post: Sep 21, 2010, 5:08 PM
  4. [CLOSED] Tooltip and KeyMap is not working on htmlEditor
    By yobnet in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 25, 2010, 8:20 AM
  5. [CLOSED] HtmlEditor - EnableFont not working properly
    By alexp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 24, 2009, 11:42 AM

Posting Permissions