使用FreeTextBo的问提

来源:百度知道 编辑:UC知道 时间:2024/06/05 07:05:44
本机调试都正常,但在虚拟空间上显示,不知道怎么办了
FreeTextBox has not been correctly installed. To install FreeTextBox either:
(1) add a reference to FtbWebResource.axd in web.config:
<system.web>
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
</system.web>

(2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />

上面报的错误是你 FreeTextBox 映射的位置不正确.你在本地一定没有问题.上传后很多的服务器会禁用映射.

<FTB:FreeTextBox 中添加以下属性就行了.
SupportFolder="~/aspnet_client/FreeTextBox" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile"

我也是前几天碰到了这个问题后来解决了.