Display error.

Last post 04-10-2007, 12:28 PM by ckincincy. 2 replies.
Sort Posts: Previous Next
  •  04-09-2007, 10:57 PM 28075

    Display error.

    When I have these configuration settings:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
       
        <contextmenu>
            <item name="Editing" value="False"/>
            <item name="Format" value="False"/>
            <item name="Insert" value="False"/>
            <item name="InsertAdvanced" value="False"/>
            <item name="InsertFiles" value="False"/>
            <item name="InsertForms" value="False"/>
            <item name="Relative" value="False"/>
            <item name="Tags" value="False"/>
            <item name="Verbs" value="False"/>
        </contextmenu>
        <toolbars>
            <item type="g_start" />
            <item type="image" name="Save" postback="True" />
            <item type="image" name="preview" imagename="bspreview"/>
            <item type="image" name="Find" />
            <item type="image" name="CleanCode" imagename="cleanup" />
            <item type="image" name="netspell" imagename="spell" />
            <item type="separator" />
            <item type="image" name="Cut" />
            <item type="image" name="Copy" />
            <item type="image" name="Paste" />
            <item type="image" name="PasteWord" />
            <item type="separator" />
            <item type="image" name="Undo" />
            <item type="image" name="Redo" />
            <item type="separator" />
            <item type="image" name="InsertImage" imagename="eximage" />
            <item type="separator" />
            <item type="image" name="JustifyLeft" imagename="left" />
            <item type="image" name="JustifyCenter" imagename="center" />
            <item type="image" name="JustifyRight" imagename="right" />
            <item type="image" name="JustifyFull" />
            <item type="image" name="JustifyNone" />
            <item type="g_end" />
            <item type="linebreak" />
            <item type="g_start" />
            <item type="table" />
            <!-- item type="image" name="InsertTable" imagename="instable" /-->
            <item type="image" name="InsertRowTop" imagename="insrow_t" />
            <item type="image" name="InsertRowBottom" imagename="insrow_b" />
            <item type="image" name="DeleteRow" imagename="delrow" />
            <item type="image" name="InsertColumnLeft" imagename="inscol_l" />
            <item type="image" name="InsertColumnRight" imagename="inscol_r" />
            <item type="image" name="DeleteColumn" imagename="delcol" />
            <item type="image" name="InsertCell" imagename="inscell" />
            <item type="image" name="DeleteCell" imagename="delcell" />
            <item type="image" name="EditRow" imagename="row" />
            <item type="image" name="EditCell" imagename="cell" />
            <item type="image" name="MergeRight" imagename="mrgcell_r" />
            <item type="image" name="MergeBottom" imagename="mrgcell_b" />
            <item type="image" name="HorSplitCell" imagename="spltcell_r" />
            <item type="image" name="VerSplitCell" imagename="spltcell_b" />
            <!-- MergeCell/mrgcell SplitCell/spltcell -->
            <item type="g_end" />
           
            <item type="linebreak" />
            <item type="g_start" />
            <item type="image" name="Bold" />
            <item type="image" name="Italic" />
            <item type="image" name="Underline" imagename="under" />
            <item type="separator" />
            <item type="forecolor" />
            <item type="g_end" />
           
            <item type="g_start" />
            <item type="dropdown" name="FontName" width="95" text="[[FontName]]" command="FontName" />
            <item type="dropdown" name="FontSize" width="40" text="[[FontSize]]" command="FontSize" />
            <item type="separator" />
            <item type="image" name="InsertHorizontalRule" imagename="rule" />
            <item type="image" name="InsertLink" imagename="link" />
            <item type="image" name="Unlink" />
            <item type="g_end" />
           
            <item type="linebreak" />
        </toolbars>
    </configuration>


    I get a menu that looks like this:


    Any ideas?

  •  04-10-2007, 3:12 AM 28078 in reply to 28075

    Re: Display error.

    Try put dropdown into a separate group:
     
            <item type="g_start" />
            <item type="dropdown" name="FontName" width="95" text="[[FontName]]" command="FontName" />
            <item type="dropdown" name="FontSize" width="40" text="[[FontSize]]" command="FontSize" />
            <item type="separator" />
            <item type="image" name="InsertHorizontalRule" imagename="rule" />
            <item type="image" name="InsertLink" imagename="link" />
            <item type="image" name="Unlink" />
            <item type="g_end" />
     
    Should be:
     
            <item type="g_start" />
            <item type="dropdown" name="FontName" width="95" text="[[FontName]]" command="FontName" />
            <item type="dropdown" name="FontSize" width="40" text="[[FontSize]]" command="FontSize" />
            <item type="g_end" />        
            <item type="separator" /> 
            <item type="g_start" />
            <item type="image" name="InsertHorizontalRule" imagename="rule" />
            <item type="image" name="InsertLink" imagename="link" />
            <item type="image" name="Unlink" />
            <item type="g_end" />

     
    Hope it helps.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-10-2007, 12:28 PM 28110 in reply to 28078

    Re: Display error.

    This did work.  Thanks.
View as RSS news feed in XML