Second Version 5 Question

Last post 12-30-2005, 7:47 PM by rcroeder. 2 replies.
Sort Posts: Previous Next
  •  12-30-2005, 5:42 PM 14304

    Second Version 5 Question

    I see it is the "Lets change the property name" time again. Do you have a list of properties that have been obsoleted in this version and what the new incarnation of the names are by chance? I would be really painfull to do it the other way, real painful.
     
    RC
  •  12-30-2005, 6:19 PM 14306 in reply to 14304

    Re: Second Version 5 Question

    Here is the list. Sorry for the inconvenience.
     
    Version 4.x Version 5.0
     ParagraphsList
    ParagraphsListMenuNames
    ParagraphsListMenuList

    Example:

    <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID = "Editor1"
           
           'Programmatically populate the Paragraph dropdown. 
           editor.ParagraphsListMenuNames="H2, H4, H5"
           editor.ParagraphsListMenuList="&lt;H2gt;, &lt;H4&gt;, &lt;H5&gt;"
           editor.Text = "Hello World"
           editor.Draw()
    %>

     

    LinksDropDownWidth obsoleted
    ParagraphsDropDownWidth obsoleted
    SizesDropDownWidth obsoleted
    ZoomsDropDownWidth obsoleted
    StylesDropDownWidth obsoleted
    CodeSnippetsDropDownWidth obsoleted
    ImagesDropDownWidth obsoleted
    FontsDropDownWidth obsoleted
     TextareaCols

    Editor.DownLevelColumns Property

    Gets or sets the columns property of the downlevel TEXTAREA

     


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Gets or sets the columns property of the downlevel TEXTAREA.
               editor.DownLevelColumns = 50
               editor.Text = "Hello World"
               editor.Draw()
          %>

     TextareaRows

    Editor.DownLevelRows Property

    Gets or sets the rows property of the downlevel TEXTAREA
    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Gets or sets the rows property of the downlevel TEXTAREA.
               editor.DownLevelRows = 15
               editor.Text = "Hello World"
               editor.Draw()
          %>
     
     FlashPath
    FlashGalleryPath
     
    //Programmatically specify the Falsh gallery path
    editor.FlashGalleryPath = "/Uploads"
     DocumentPath
    FilesGalleryPath
     
    //Programmatically specify the Document gallery path
    editor.FilesGalleryPath = "/Uploads"

     StyleDropDownMenuNames
     StyleDropDownMenuList

    CssClassStyleDropDownMenuNames
    CssClassStyleDropDownMenuList

    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()
    %>
     
     Culture

    Editor.CustomCulture Property

    Specify the culture name used in the current editor

    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Specify the culture name used in the current editor.
               editor.CustomCulture = "fr-fr"
               editor.Text = "Hello World"
               editor.Draw()
          %>
     Template

    Editor.TemplateItemList Property

    Gets or sets the template or layout to use for the toolbars.

    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Gets or sets the template or layout to use for the toolbars.
               editor.TemplateItemList = "Bold, Italic, Underline"
               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

  •  12-30-2005, 7:47 PM 14308 in reply to 14306

    Re: Second Version 5 Question

    Lovely...your programmers need a lesson on compatability between versions. This reminds me of the old DLL hell. I am glad I put the editor calls inside of a include files.

    RC

    p.s. a simple way to make sure people could slowly adapt to the new version without rewriting dozens of pages was to include the old calls either by wrappering them to the new ones or stubbing them so the program does not blow up. Just a thought to make customers happy. Happy customers are good customers. 
View as RSS news feed in XML