如何自定义FreeTextBox菜单?

时间:2009-03-02 19:26:44

标签: c# asp.net freetextbox

我想在ASPX页面上自定义FreeTextBox(FTB)控件的菜单。如何添加/删除元素?我还想启用其拼写检查功能。任何帮助/参考将不胜感激。

谢谢!

1 个答案:

答案 0 :(得分:2)

对于其他参考...您可以使用一串用于创建工具栏的按钮来设置FTB的ToolbarLayout属性。使用逗号(,)分隔项目。管道(|)将插入分隔符

<FTB:FreeTextBox ID="FTB1" runat="server" Width="100%" Height="280px"
                    ToolbarLayout="ParagraphMenu, Bold, Italic, Underline, Strikethrough, CreateLink, Unlink, RemoveFormat, JustifyLeft, JustifyRight, JustifyCenter, JustifyFull, BulletedList, NumberedList, Indent, Outdent, Cut, Copy, Paste, Undo, Redo, ieSpellCheck">
</FTB:FreeTextBox>

拼写检查是通过ieSpell完成的,它不能与firefox一起使用。目前正在使用NetSpell进行拼写检查功能。

相关问题