首页 新闻 会员 周边

freetextbox 在 vs.net 2008 中 怎么使用?

0
悬赏园豆:30 [已解决问题] 解决于 2009-04-17 17:14

如题

这个是系统自带文档,按照这个步骤也不行呀

1. Internal Resources - All the images, javascript and xml can be streamed from inside
  the FreeTextBox.dll. In ASP.NET 2.0 these files are automatically pulled from
  the FreeTextBox.dll. In ASP.NET 1.x, you need to add the following httpHandler to web.config:

  <?xml version="1.0" encoding="utf-8" ?>
  <configuration>
  <system.web>
    <httpHandlers>
    <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
  <system.web>
<configuration>

If you are attempting to use this method and having trouble, please view the source code of your page
and see where FtbWebResource.axd is being referenced. If it appears incorrect, please set
FreeTextBox.AssemblyResourceHandlerPath to the appropriate directory where you have set your web.config.


2. External Files - If you prefer not to use the internal JavaScript and image resources
  you can also have FreeTextBox link to external files which default to
  ~/aspnet_client/FreeTextBox/.
 
  To use this, you need to do the following:

  - Tell FreeTextBox which kind of files to look for external resources: JavaScriptLocation=ExternalFile, ToolbarImages=ExternalFile, ButtonImagesLocation=ExternalFile
  - Set the SupportFolder property of your FreeTextBox instance to the directory where you copied the files. For example, if your website is stored at www.mysite.com/FreeTextBoxFiles/, you should set SupportFolder="/FreeTextBoxFiles/".

  <FTB:FreeTextBox id="FreeTextBox1" SupportFolder="~/myfolder/FreeTextBox"
JavaScriptLocation="ExternalFile"
ToolbarImages="ExternalFile
ButtonImagesLocation="ExternalFile"
runat="server" />


*********************************************
Using FreeTextBox
*********************************************

To add FreeTextBox to an ASP.NET page, do the following:

1. Add the following line to the top of your page:

  <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

2. Add the following code between <form runat="server"> tags:

  <FTB:FreeTextBox id="FreeTextBox1" runat="Server" />

weblogical的主页 weblogical | 初学一级 | 园豆:6
提问于:2009-04-15 17:12
< >
分享
最佳答案
0

我跟你讲,在常用工具栏中点击右键——新建个选项卡,假设命名为dd,然后点击右键添加引用----浏览-----将你的freetextbox中的dll文件加入进来就行了,你试试看了

Jaryleely | 菜鸟二级 |园豆:367 | 2009-04-16 00:08
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册