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
没有合适的资源?快使用搜索试试~ 我知道了~
铁路局客运内网系统源码
共874个文件
gif:629个
aspx:66个
cs:59个
3星 · 超过75%的资源 需积分: 10 19 下载量 55 浏览量
2009-09-29
16:22:01
上传
评论 1
收藏 5.56MB RAR 举报
温馨提示
铁路局客运内网系统源码 前台 登陆后,进入网络办公。 浏览文件、上传报表、创建文章、文件维护、网上交流、退出办公 等操作。 后台 general/login.aspx进入。 后台模块 网站首页 进入网站的前台首页 用户管理 用户的删除和修改操作,修改可以修改类别 系统管理 添加、修改删除网站中的类别 经营指标 查看经营指标 级别管理 添加、修改和删除网站用户的角色级别 数据备份 备份数据库中的数据 网上交流 发帖 其他管理可以根据需求通过系统管理来进行添加,进行网站的多元化管理。
资源推荐
资源详情
资源评论
收起资源包目录
铁路局客运内网系统源码 (874个子文件)
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 995B
WebUserControl.ascx 3KB
subcontrol.ascx 899B
index.asp 38KB
index.aspx 18KB
lt_lookOne.aspx 7KB
menu.aspx 7KB
login.aspx 7KB
managenews.aspx 6KB
list.aspx 6KB
NewsTypeList.aspx 6KB
UserManage.aspx 5KB
index.aspx 5KB
lt_touxiang.aspx 5KB
inter_office_upfile.aspx 5KB
lt_lookbbs.aspx 5KB
main.aspx 4KB
index.aspx 4KB
RoleList.aspx 4KB
inter_office_wh.aspx 4KB
Article_edit.aspx 3KB
Article_new.aspx 3KB
inter_office_list.aspx 3KB
Show.aspx 3KB
User_Edit.aspx 3KB
User_New.aspx 3KB
default.aspx 3KB
inter_office_cre.aspx 3KB
default.aspx 2KB
lt_zhutiedit.aspx 2KB
Edit.aspx 2KB
lt_addlt.aspx 2KB
New.aspx 2KB
default.aspx 2KB
default.aspx 2KB
lt_huifuedit.aspx 2KB
lt_zhutiHf.aspx 2KB
ftb.imagegallery.aspx 2KB
ftb.imagegallery.aspx 2KB
default.aspx 2KB
ftb.imagegallery.aspx 2KB
User_Login.aspx 2KB
updatepassword.aspx 2KB
default.aspx 1KB
Show.aspx 1KB
default.aspx 1KB
default.aspx 1KB
frames.menu.aspx 1KB
default.aspx 1KB
DataBack.aspx 1KB
default.aspx 1KB
default.aspx 1KB
default.aspx 1KB
frames.main.aspx 877B
Default.aspx 659B
UploadFile.aspx 595B
UploadFile.aspx 595B
checkLogin.aspx 481B
NewsType_Del.aspx 466B
lt_huifudel.aspx 463B
lt_zhutidel.aspx 463B
RoleDel.aspx 458B
newsdel.aspx 456B
default.aspx 454B
loginout.aspx 453B
del.aspx 449B
filedel.aspx 448B
exit.aspx 442B
bbs.aspx 378B
default.aspx 331B
FreeTextBox.chm 295KB
Web.Config 3KB
web.config 532B
News.cs 13KB
bbs.cs 12KB
Accounts_Users.cs 12KB
bbsrevert.cs 9KB
TieLuInfo.cs 9KB
files.cs 8KB
Accounts_Roles.cs 7KB
Model.cs 7KB
NewsType.cs 6KB
index.aspx.cs 4KB
NewsTypeList.aspx.cs 4KB
inter_office_upfile.aspx.cs 4KB
managenews.aspx.cs 3KB
RoleList.aspx.cs 3KB
Article_edit.aspx.cs 2KB
lt_zhutiedit.aspx.cs 2KB
User_Edit.aspx.cs 2KB
inter_office_cre.aspx.cs 2KB
UploadFile.aspx.cs 2KB
UploadFile.aspx.cs 2KB
lt_lookOne.aspx.cs 2KB
Edit.aspx.cs 2KB
Article_new.aspx.cs 2KB
User_New.aspx.cs 2KB
共 874 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- hbh982015-11-07试试看,正在安装
- gwdzy2014-08-23浪费积分,不能用。
ss_geng
- 粉丝: 319
- 资源: 3219
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功