For furhter installation instructions, please visit http://wiki.freetextbox.com/
*********************************************
Requirements:
*********************************************
- .NET Framework 1.0, 1.1, or 2.0
- IIS 5.0 or 6.0
*********************************************
Installation of dll
*********************************************
1. Copy the appropriate FreeTextBox.dll from Framework-X.X into your /bin/ folder
2. If you have a license file, copy FreeTextBox.lic into the /bin/ folder
next to FreeTextBox.dll
*********************************************
Installing the FreeTextBox support files
*********************************************
FreeTextBox uses JavaScript, images, and xml files. To correctly install FreeTextBox,
you must install these files. FreeTextBox has two ways of accessing these files:
1. External Files - Before FreeTextBox 3.0, all images, javascript and xml were
stored as external files. By default, FreeTextBox looks in
~/aspnet_client/FreeTextBox/ for these files. Please note that this is the a folder within the
current application or virtual directory.
If you want to store the files in a
different location, you need:
- 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" />
2. Internal Resources - As of FreeTextBox 3.0 all the images, javascript and xml are stored
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.
*********************************************
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" />
*********************************************
Customizing FreeTextBox
*********************************************
FreeTextBox has as default set of buttons and dropdownlists in its toolbars. If you
would like to customize the buttons, there are three methods you can use.
1. ToolbarLayout String
This property accepts a string of ToolbarItem names. Use commas ( , ) to separate items. A pipe ( | ) will insert a ToolbarSeparator and a semicolon ( ; ) will start a new Toolbar.
The default way to configure toolbars is to use use the propery ToolbarLayout
<html>
<body>
<form runat="server">
<FTB:FreeTextBox id="FreeTextBox1"
ToolbarLayout="paragraphmenu,fontsizesmenu;bold,italic,underline|
bulletedlist,numberedlist"
runat="Server" />
</form>
</body>
</html>
Valid values for ToolbarButtons and ToolbarDropDownLists are
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, Save,
ieSpellCheck, StyleMenu, SymbolsMenu, InsertHtmlMenu, InsertRule, InsertDate,
InsertTime, WordClean, InsertImage, InsertTable, EditTable, InsertTableRowBefore,
InsertTableRowAfter, DeleteTableRow, InsertTableColumnBefore, InsertTableColumnAfter,
DeleteTableColumn, InsertForm, InsertForm, InsertTextBox, InsertTextArea,
InsertRadioButton, InsertCheckBox, InsertDropDownList, InsertButton, InsertDiv,
InsertImageFromGallery, Preview, SelectAll, EditStyle
The following values are only available in Pro versions of FreeTextBox (or if running on localhost)
FontForeColorPicker, FontBackColorPicker, EditTable
InsertTableRowAfter, DeleteTableRow, InsertTableColumnBefore, InsertTableColumnAfter,
DeleteTableColumn, InsertForm, InsertForm, InsertTextBox, InsertTextArea,
InsertRadioButton, InsertCheckBox, InsertDropDownList, InsertButton, InsertDiv,
Preview, SelectAll, EditStyle, WordClean
2. Procedurally
You can define which toolbar items appear by adding ToolbarItems in much the same way that one would add DataGrid Columns to a DataGrid. In order to do this, set AutoGenerateToolbarLayoutFromString=false:
<html>
<body>
<form runat="server">
<FTB:FreeTextBox id="FreeTextBox1" AutoGenerateToolbarsFromString="false" runat="server" >
<Toolbars>
<FTB:Toolbar runat="server">
<FTB:ParagraphMenu runat="server" />
<FTB:FontSizesMenu runat="server" />
</FTB:Toolbar>
<FTB:Toolbar runat="server">
<FTB:Bold runat="server" />
<FTB:Italic runat="server" />
<FTB:Underline runat="server" />
<FTB:ToolbarSeparator runat="server" />
<FTB:BulletedList runat="server" />
<FTB:NumberedList runat="server" />
</FTB:Toolbar>
<FTB:Toolbar runat="server">
<FTB:InsertHtmlMenu runat="server">
<Items>
<FTB:ToolbarListItem Text="Cool1" Value="<b>lalala</b>" runat="server" />
<FTB:ToolbarListItem Text="Cool2" Value="<i>lalala</i>" runat="server" />
<FTB:ToolbarListItem Text="Cool3" Value="<u>lalala</u>" runat="server" />
</Items>
</FTB:InsertHtmlMenu>
<FTB:StyleMenu runat="server">
<Items>
<FTB:ToolbarListItem Text="Highlighed" Value="<b>Highlighed</b>" runat="server" />
<FTB:ToolbarListItem Text="SmallCaps" Value="<i>smallcaps</i>" runat="server" />
</Items>
</FTB:StyleMenu>
</FTB:Toolbar>
</Toolbars>
</FTB:FreeTextBox>
</form>
</body>
</html>
3. Code (Page_Load or Code Behind)
ToolbarButtons and ToolbarDropDownLists can also be set through code. You should set the property AutoGenerateToolbarsFromString to false if you want only the ToolbarItems you define.
<script runat="server">
void Page_Load(object Src, EventArgs E) {
Toolbar toolbar1 = new Toolbar();
toolbar1.Items.Add(new ParagraphMenu());
toolbar1.Items.Add(new FontSizesMenu());
FreeTextBox1.Toolbars.Add(toolbar1);
Toolbar toolbar2 = new Toolbar();
toolbar2.Items.Add(new Bold());
toolbar2.Items.Add(new Italic
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
开发工具:Visual Studio .NET 2005 + Server2005 项目描述:ASP.NET(C#)三层架构开源OA办公系统MSSQL商业版,基于B/S架构设计。 包括文件管理、共享下载、消息管理、公文流传、通知管理、内部论坛、人力资源管理、资产管理 等。 文件管理:接收文件 传送文件 文件操作记录 共享下载:查看共享 上传共享 管理共享 消息管理:接收消息 发送消息 部门群发 发送记录 我的群组 公文流转:接收公文 发送公文 发送记录 通知管理:查看通知 发布通知 通知管理 新闻管理:浏览新闻 发布新闻 内部论坛:查看帖子 发布帖子 头像管理 工作日志:提交日志 日志记录 批阅日志 日志汇总 日程计划:撰写日程 我的日程 撰写计划 我的计划 工作总结:撰写月总结记录.管理撰写年度总结记录.管理总结分类 审批管理:提交审批 办理审批 申请记录 人力资源:在线考勤 考勤记录 所有考勤 部门考勤 通讯录:单位通讯录 提交办公通讯录 电子邮件 发送邮件 资产管理 资产列表 技术应用:数据库(SQL2005 sql脚本编写 触发器 存储过程 视图) 使用CodeSmith 生成框架。 运用HTML/JavaScript/CSS技术实现标准、规范的客户端静态和动态效果 手动分页 缓存 ……
资源推荐
资源详情
资源评论
收起资源包目录
ASP.NET(C#)三层架构开源OA办公系统MSSQL商业版 (1820个子文件)
de-de.xml.2005-03-22.10-39-30.0156 4KB
Languages.xml.2005-03-17.21-30-04.5156 815B
Languages.xml.2005-03-22.10-39-19.7187 1KB
Global.asax 911B
subcontrol.ascx 899B
left.aspx 28KB
tijiaobangongtongxunlu.aspx 23KB
bangongtongxuluxiugai.aspx 22KB
rlzy_lrda.aspx 21KB
rlzy_daxg.aspx 20KB
officetable.aspx 19KB
rlzy_zxkq.aspx 17KB
zcxg.aspx 13KB
zclr.aspx 12KB
jh_writeplan.aspx 12KB
jieshouxinxi.aspx 12KB
zcgl.aspx 11KB
jh_planupdate.aspx 10KB
rc_noteupdate.aspx 10KB
rlzy_bmqkxx.aspx 10KB
updatepassword.aspx 10KB
fasongjilu.aspx 10KB
rlzy_grkq.aspx 9KB
gw_senddocument.aspx 9KB
rlzy_plsckq.aspx 9KB
rlzy_sykq.aspx 9KB
lb_adminupload.aspx 9KB
gw_sendnote.aspx 8KB
rlzy_kqjl.aspx 8KB
lb_selectFile.aspx 8KB
guanlitongzhi.aspx 8KB
rc_writecalendar.aspx 7KB
gw_urge.aspx 7KB
gw_takedocument.aspx 7KB
showdepartment.aspx 7KB
fileslog.aspx 7KB
sendwordindex.aspx 7KB
nianzongjie.aspx 7KB
doshenpi.aspx 7KB
rc_employeenote.aspx 7KB
yuezongjie.aspx 7KB
rlzy_dacx.aspx 6KB
rlzy_bmda.aspx 6KB
dagl.aspx 6KB
zongjie.aspx 6KB
tzdept.aspx 6KB
nianguanli.aspx 6KB
yueguanli.aspx 6KB
mohuchaxun.aspx 6KB
chaxun.aspx 6KB
wenjianchuansong.aspx 6KB
yibaofei.aspx 6KB
weibaofei.aspx 6KB
jh_myplan.aspx 6KB
zclb.aspx 6KB
updaz.aspx 6KB
openshenpi.aspx 5KB
addtz.aspx 5KB
lb_upload.aspx 5KB
leibie.aspx 5KB
lt_addHF.aspx 5KB
lt_touxiang.aspx 5KB
zclr2.aspx 5KB
fasongxiaoxi.aspx 5KB
jiqunchuansong1.aspx 5KB
lt_addlt.aspx 5KB
rc_notemanage.aspx 5KB
tongzhineirong.aspx 5KB
shoucang.aspx 5KB
xw_addNews.aspx 5KB
login.aspx 5KB
lt_updateHF.aspx 5KB
rizhipiyue.aspx 5KB
zhuanfa.aspx 5KB
adminshenpi.aspx 5KB
lt_update.aspx 5KB
rc_read.aspx 4KB
xw_updateNews.aspx 4KB
zcbf.aspx 4KB
splist.aspx 4KB
liebieshezhi.aspx 4KB
qunzu.aspx 4KB
liebieguanli.aspx 4KB
updatepost.aspx 4KB
rizhineirong.aspx 4KB
tjpost.aspx 4KB
jh_planmanage.aspx 4KB
wenjianhuifu.aspx 4KB
rlzy_bmkq.aspx 4KB
chakanfasongneirong.aspx 4KB
tijiao.aspx 3KB
updateshenpi.aspx 3KB
insertchengyuan.aspx 3KB
tianjiabeizhu.aspx 3KB
danweitxl.aspx 3KB
qx_level.aspx 3KB
gerenrizhi.aspx 3KB
jieshouwenjian.aspx 3KB
chakanhuifu.aspx 3KB
updatezuming.aspx 3KB
共 1820 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
afongzi
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于C语言的系统服务框架.zip
- (源码)基于Spring MVC和MyBatis的选课管理系统.zip
- (源码)基于ArcEngine的GIS数据处理系统.zip
- (源码)基于JavaFX和MySQL的医院挂号管理系统.zip
- (源码)基于IdentityServer4和Finbuckle.MultiTenant的多租户身份认证系统.zip
- (源码)基于Spring Boot和Vue3+ElementPlus的后台管理系统.zip
- (源码)基于C++和Qt框架的dearoot配置管理系统.zip
- (源码)基于 .NET 和 EasyHook 的虚拟文件系统.zip
- (源码)基于Python的金融文档智能分析系统.zip
- (源码)基于Java的医药管理系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页