在webconfi文件中添加
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers> 页面中<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers> 页面中<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />
参考一下
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
好要把 FreeTextBox 的图片文件和js文件拷贝到你的网站目录下面
然后在aspx里声明控件
<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="文件所在路径名" JavaScriptLocation="js文件名" ButtonImagesLocation="按钮图片文件名" ToolbarImagesLocation="工具栏图片文件名" runat="server" />
FreeTextBox has not been correctly installed. To install FreeTextBox either:
FreeTextBox没有被正确地安装。安装FreeTextBox请:
(1) add a reference to FtbWebResource.axd in web.config:
在web.config里面添加一个到FtbWebResource.axd的引用。
(2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
保存FreeTextBox图像和JavaScript脚本到你站点上的一个位置,并且按照所述设置FreeTextBox。