首页 > 学院 > 开发设计 > 正文

Csharp:FreeTextbox编辑器控件运行时错误:'FTB_ResizeGalleryArea'未定义

2019-11-14 16:52:35
字体:
来源:转载
供稿:网友

ftb.imagegallery.aspx 改一下代码:

 <form id="Form1" runat="server" enctype="multipart/form-data">      		<FTB:ImageGallery id="ImageGallery1" 		     javaScriptLocation="InternalResource" 		     UtilityImagesLocation="InternalResource"			SupportFolder="~/aspnet_client/FreeTextBox/"			AllowImageDelete="true" AllowImageUpload="true" AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" />			</form>

 编辑器页的代码:aspnet_client/FreeTextBox 是编辑器的代码文件夹;保存图片的文件夹:/saveimages/

        <FTB:FreeTextBox ID="FreeTextBox1" runat="server"  SupportFolder="~/aspnet_client/FreeTextBox/"   ImageGalleryPath="~/saveimages/" language="zh-CN"  toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertImageFromGallery|Cut,Copy,Paste,Delete;Undo,Redo,PRint,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell"                                     Width="500px" Height="260px">        </FTB:FreeTextBox>

 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表