Click here to Skip to main content
11,485,564 members (75,626 online)
Click here to Skip to main content
Add your own
alternative version

ASP.NET HTML Editor Control

, 30 May 2013 CPOL 85.9K 8K 121
Creating a useful ASP.NET HTML Editor custom control.
RichTextBox-noexe.zip
RichTextBox
RichTextBox Source
Backup
MyControl
App_Code
ColorPicker
colormap.gif
palette.gif
palette.jpg
EditorStyles
js
Properties
RichTextboxIcons
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.v11.suo
testCustom
Properties
testCustomControl.csproj.user
Uploads
3372161886_e82c7c8b1b_o.jpg
Clock.swf
Downloads4.jpg
fifa-2010.swf
CustomControl
CustomControl.suo
obj
Debug
Properties
MyControl
App_Code
ColorPicker
colormap.gif
palette.gif
palette.jpg
EditorStyles
js
obj
Debug
SigmaToolBox.Properties.Resources.resources
Properties
RichTextboxIcons
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
testCustom
obj
Debug
Properties
testCustom.csproj.user
testCustomControl.csproj.user
Uploads
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
_UpgradeReport_Files
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png
RichTextBox.zip
Control_dll
SigmaToolBox.dll
colormap.gif
palette.gif
palette.jpg
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.v11.suo
testCustomControl.csproj.user
3372161886_e82c7c8b1b_o.jpg
Clock.swf
Downloads4.jpg
fifa-2010.swf
bin
Debug
CustomControl.dll
CustomControl.pdb
CustomControl.suo
CustomControl.dll
CustomControl.pdb
TempPE
bin
Debug
AntiXSSLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
colormap.gif
palette.gif
palette.jpg
DesignTimeResolveAssemblyReferencesInput.cache
Refactor
MyControl.dll
ResolveAssemblyReference.cache
SigmaToolBox.csproj.GenerateResource.Cache
SigmaToolBox.dll
SigmaToolBox.pdb
SigmaToolBox.Properties.Resources.resources
TempPE
Properties.Resources.Designer.cs.dll
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
App_Data
App_LocalResources
bin
AntiXssLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
testCustom.dll
testCustom.pdb
DesignTimeResolveAssemblyReferencesInput.cache
Refactor
ResolveAssemblyReference.cache
TempPE
testCustom.dll
testCustom.pdb
testCustomControl.csprojResolveAssemblyReference.cache
testCustom.csproj.user
testCustomControl.csproj.user
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png
richtextbox_7_november_2012-noexe.zip
RichTextBox_7_November_2012
RichTextBox Source
MyControl
App_Code
ColorPicker
colormap.gif
palette.gif
palette.jpg
EditorStyles
js
obj
Debug
SigmaToolBox.Properties.Resources.resources
Release
SigmaToolBox.Properties.Resources.resources
Properties
RichTextboxIcons
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
testCustom
obj
Debug
Release
Properties
testCustom.csproj.user
testCustomControl.csproj.user
Uploads
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
_UpgradeReport_Files
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png
richtextbox_7_november_2012.zip
Control_dll
SigmaToolBox.dll
bin
Debug
AntiXSSLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
Release
AntiXSSLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
colormap.gif
palette.gif
palette.jpg
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
Refactor
MyControl.dll
ResolveAssemblyReference.cache
RichTextBox.csproj.GenerateResource.Cache
SigmaToolBox.csproj.GenerateResource.Cache
SigmaToolBox.csprojResolveAssemblyReference.cache
SigmaToolBox.dll
SigmaToolBox.pdb
SigmaToolBox.Properties.Resources.resources
TempPE
Properties.Resources.Designer.cs.dll
DesignTimeResolveAssemblyReferencesInput.cache
SigmaToolBox.csproj.GenerateResource.Cache
SigmaToolBox.csprojResolveAssemblyReference.cache
SigmaToolBox.dll
SigmaToolBox.pdb
SigmaToolBox.Properties.Resources.resources
TempPE
Properties.Resources.Designer.cs.dll
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
App_Data
App_LocalResources
bin
AntiXssLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
testCustom.dll
testCustom.pdb
DesignTimeResolveAssemblyReferencesInput.cache
Refactor
ResolveAssemblyReference.cache
TempPE
testCustom.dll
testCustom.pdb
testCustomControl.csprojResolveAssemblyReference.cache
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
testCustom.dll
testCustom.pdb
testCustomControl.csprojResolveAssemblyReference.cache
testCustom.csproj.user
testCustomControl.csproj.user
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png
_richtextbox-noexe.zip
colormap.gif
palette.gif
palette.jpg
SigmaToolBox.Properties.Resources.resources
Release
SigmaToolBox.Properties.Resources.resources
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
Release
testCustom.csproj.user
testCustomControl.csproj.user
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png
_richtextbox.zip
SigmaToolBox.dll
AntiXSSLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
Release
AntiXSSLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
colormap.gif
palette.gif
palette.jpg
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
MyControl.dll
ResolveAssemblyReference.cache
RichTextBox.csproj.GenerateResource.Cache
SigmaToolBox.csproj.GenerateResource.Cache
SigmaToolBox.csprojResolveAssemblyReference.cache
SigmaToolBox.dll
SigmaToolBox.pdb
SigmaToolBox.Properties.Resources.resources
Properties.Resources.Designer.cs.dll
DesignTimeResolveAssemblyReferencesInput.cache
SigmaToolBox.csproj.GenerateResource.Cache
SigmaToolBox.csprojResolveAssemblyReference.cache
SigmaToolBox.dll
SigmaToolBox.pdb
SigmaToolBox.Properties.Resources.resources
TempPE
Properties.Resources.Designer.cs.dll
1280657916_format-text-italic.png
bold.png
bullets.png
bullets_RTL.png
center.png
character_set.png
colormap.gif
colorPicker.png
copy.png
createtable.png
cut.png
directionLeft.png
editorMode.png
eraser.png
fontFamily.png
fontFamily2.png
fontFamily3.png
fontsize.png
fontStyle.png
fontStyle2.png
font_bold.png
format_justify_left.png
format_justify_right.png
format_text_strikethrough.png
highlight.png
highlighter_text.png
HorizontalLine.png
Htmlsource.png
indent.png
insertImage.png
insert_button.png
insert_checkbox.png
insert_combobox.png
insert_fileUpload.png
insert_image.png
insert_listBox.png
insert_password.png
insert_textarea.png
insert_textbox.png
italic.png
italic2.png
link2.png
link3.png
link_break.png
loadign.gif
ltr.png
ltr_direction.png
ltr_direction_on.png
numbering.gif
outdent.png
page_break.png
palette.gif
palette.jpg
paste.png
preview.png
printer.png
redo.png
resize_both.png
resize_horizontal.png
resize_vertical.png
rtl.png
rtl_direction.png
rtl_direction_on.png
save.png
save_as.png
select_all.png
strikethrough.png
subscript.png
superscript.png
swf.png
swfBackground.png
table.png
textColor.png
textColor2.png
text_align_center.png
text_bold.png
text_bold_on.png
text_italic.png
text_italic_on.png
text_list_numbers-RTL.png
text_list_numbers.png
text_strikethrough.png
ui_radio_button.png
underline.png
underline_on.png
undo.png
Sigma.suo
Sigma.v11.suo
AntiXssLibrary.dll
HtmlSanitizationLibrary.dll
SigmaToolBox.dll
SigmaToolBox.pdb
testCustom.dll
testCustom.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
testCustom.dll
testCustom.pdb
testCustomControl.csprojResolveAssemblyReference.cache
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
testCustom.dll
testCustom.pdb
testCustomControl.csprojResolveAssemblyReference.cache
testCustom.csproj.user
testCustomControl.csproj.user
3372161886_e82c7c8b1b_o.jpg
banner_800.png
Clock.swf
cubes.swf
Downloads4.jpg
fifa-2010.swf
Iran-Ostan.swf
ist2_14114411-airdrop-supplies.swf
mammyblue2.swf
rail.swf
windows-vista-floral-red-wallpaper.jpg
UpgradeReport_Error.png
UpgradeReport_Information.png
UpgradeReport_Success.png
UpgradeReport_Warning.png

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Amir Jalilifard
Software Developer (Senior) IBM
Brazil Brazil
I'v started software development since 2006 and it seems like now it consumes most every part of my life.My life is my computer and solving problems is my passion.I mostly enjoy areas like Computer Vision, Robotics and AI. Also, I am excited about Content based image recognition(CBIR).My major goal in my life is joining one of the Google software development teams because the people who are crazy enough, they think, they can change the world and i believe,Google is a legitimate proxy for putting my dent in the universe.
Follow on   Twitter   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150520.1 | Last Updated 30 May 2013
Article Copyright 2012 by Amir Jalilifard
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid