StyleDropdown for paragraphs

Last post 02-22-2004, 1:23 AM by sem. 2 replies.
Sort Posts: Previous Next
  •  02-19-2004, 2:07 AM 396

    StyleDropdown for paragraphs

    According to the usersGuide the editor.StyleDropdown should change the paragraph style of the selected text. In fact it only changes the font style. Also the paragraphDropDown does not work. How can I change paragraph styles?

  •  02-21-2004, 7:59 PM 424 in reply to 396

    Re: StyleDropdown for paragraphs

    Sem,

     

    You can change your paragraph styles.

     

    Here is the example. You can find the exmaple code in the download package as well.

     

     'A list of strings for the paragraph dropdownlist.

    editor.ParagraphsList = "Normal,Heading 1,Heading 2,Heading 3,Formatted,Definition Term"

    'A list of fonts for the font face dropdownlist.

    editor.FontFacesList = "Arial,Verdana"

    'A list of numbers for the zoom dropdownlist.

    editor.ZoomsList = "500%,200%,125%,25%"

    'A list of numbers for the font size dropdownlist.

    editor.FontSizesList = "1,2,3,4,5,7"

    'editor.StyleSheetPath = "mystylesheet.css"

     


    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

  •  02-22-2004, 1:23 AM 425 in reply to 424

    Re2: StyleDropdown for paragraphs

    Thanks, theoretically I know, but that does not work! Not even in the form of this support forum within the textarea where I write this lines right now. The drop-down for paragraphs does not change anything! So what s wrong?

View as RSS news feed in XML