首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

怎么灵活调用FCKeditorV2控件

2011-12-22 
如何灵活调用FCKeditorV2控件我前几天用freetextbox,发现这控件蛮灵活的,在各个调用页面呈现不同的功能.现

如何灵活调用FCKeditorV2控件
我前几天用freetextbox,发现这控件蛮灵活的,在各个调用页面呈现不同的功能.现在改用FCKeditorV2,因为它功能更强大,但不灵活,调用它的页面只能呈现一个样式.不知有没有好的方法.
下面是freetextbox的调用,供参考. <FTB:FreeTextBox id="FreeTextBox1" runat="SErver" Width="99%" Height="300"
  StyleSheetUrl="sample.css" Theme="office12" Language ="zh-cn" BorderStyle ="Outset">  
  <FTB:ToolbarGroup Title="Font" >
  <FTB:ToolbarItem Name="ParagraphMenu" />
  <FTB:ToolbarItem Name="FontFacesList" />
  </FTB:ToolbarGroup>  
   
  </FTB:FreeTextBox> 
不知FCKeditorV2是如何实现的.

[解决办法]

JScript code
FCKConfig.ToolbarSets["Default"] = [    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],    ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],    ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],    '/',    ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],    ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],    ['Link','Unlink','Anchor'],    ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],    '/',    ['Style','FontFormat','FontName','FontSize'],    ['TextColor','BGColor'],    ['FitWindow','ShowBlocks','-','About']        // No comma for the last row.] ;FCKConfig.ToolbarSets["Basic"] = [    ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']] ; 

热点排行