正想办法解决FeedTextBox控件大小老是不固定的问题!不经意中倒是解决了它按钮图的显示!
在需要的页设置这样一个方法:
private void SetTextBox(int BlogID)
{
//设置控件的按钮图片路径
content.ButtonPath = "/Blog/Images/FTB/MyBlog/";
//设置控件输入内容中的图片的上传路径
content.ImageGalleryPath="/Blog/Images/localhost/" + BlogID + "/";
//设置导航功能按钮
#region ToolbarStr
string toolbarStr=@"ParagraphMenu, FontFacesMenu, FontSizesMenu, FontForeColorsMenu, FontForeColorPicker, FontBackColorsMenu, FontBackColorPicker, Bold,
Italic, Underline, Strikethrough, Superscript, Subscript;InsertImageFromGallery, CreateLink, Unlink, RemoveFormat|
JustifyLeft, JustifyRight, JustifyCenter, JustifyFull;BulletedList, NumberedList, Indent, Outdent, Cut, Copy, Paste,
Delete;Undo, Redo, Print,ieSpellCheck, SymbolsMenu, InsertRule, InsertDate, InsertTime, InsertTable,WordCount";
content.Toolbars=FreeTextBoxControls.ToolbarGenerator.ToolbarsFromString(toolbarStr);//.EnableAll;
#endregion
}

浙公网安备 33010602011771号