Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: font type
font type
Last post 02-11-2010, 10:06 PM by
goh6613
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
02-11-2010, 1:38 AM
58657
goh6613
Joined on 12-17-2008
Posts 74
font type
Reply
Quote
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
Eric
Joined on 08-05-2009
Posts 1,269
Re: font type
Reply
Quote
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
"
More detail can be found at
http://cutesoft.net/developer+guide/scr/Howto_Change_layout_of_the_toolbars.htm
Regards,
Eric
02-11-2010, 10:06 PM
58678
in reply to
58661
goh6613
Joined on 12-17-2008
Posts 74
Re: font type
Reply
Quote
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