Re: Getting CSS drop down to work

  •  01-10-2007, 10:34 AM

    Re: Getting CSS drop down to work

    >> have put a path in for the .css file below and I was presuming the asp would run through the class names i this file?

    This feature is not supported in asp version yet. We will finish it in the next major release.

    http://cutesoft.net/asp/developer-guide/Class_dropdown_Customization.htm
     

    CSS Class dropdown Customization


    The CSS Class dropdown of CuteEditor displays a predefined set of CSS Classes. You can easily add your own CSS Classes using the following methods.
     

     

    1: Edit Dropdown Configuration file (Common.config).

    The dropdown configuration file (Common.config) can be found in the CuteEditor_Files/Configuration/Shared folder. In dropdown configuration file you can find the CssClass element which contains the configuration information for the CSS Class dropdown within Cute Editor.  

    You can modify the CssClass element to create your own CSS Classes list.

    Example:


    <
    CssClass>     

           <item text="[[NotSet]]" value="null"></item>

            <item text="Red Text" value="RedColor"></item>

          <item text="Highlight" value="Highlight"></item>

          <item text="Bold Green Text" value="BoldGreen"></item>

    </CssClass>

     

    Now the CSS Class dropdown contains "RedColor", "Highlight" and "BoldGreen".


     

     


    3: Programmatically populate the CSS Class dropdown

    Example:

    <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID = "Editor1"
           
           'Programmatically populate the CSS Class dropdown. 
           editor.CssClassStyleDropDownMenuNames = "RedColor,Highlight,Bold Green Text"
           editor.CssClassStyleDropDownMenuList = "RedColor,Highlight,BoldGreen"
           editor.Text = "Hello World"
           editor.Draw()
    %>



    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

View Complete Thread