font type

Last post 02-11-2010, 10:06 PM by goh6613. 2 replies.
Sort Posts: Previous Next
  •  02-11-2010, 1:38 AM 58657

    font type

    hi all
     
    may i know that can i disable 'Bold' , 'Italic' button for some font type....
     
    font which select by the user will decide whether the 'bold', 'italic' is disabled or enabled
     
    thanks
  •  02-11-2010, 7:00 AM 58661 in reply to 58657

    Re: font type

    Dear goh6613,
     
    Put the toolbar items needed to be disabled into this Editor.DisableItemList string.
    For example:
     
    <CE:Editor id="Editor1" DisableItemList="Bold, Italic" runat="server"></CE:Editor>
    C#:
    Editor1.DisableItemList = "Bold, Italic";
    VB:
    Editor1.DisableItemList = "Bold, Italic"
     
     
    Regards,
    Eric
     
  •  02-11-2010, 10:06 PM 58678 in reply to 58661

    Re: font type

    hi Eric
     
    i am trying to do
     
     when i select 'Verdana' , it enable 'bold','italic'
     
    when i select 'Arial', it disable 'bold', 'italic'
     
    is this possible ?
     
    thanks
View as RSS news feed in XML