Click here to Skip to main content
Click here to Skip to main content

This is a simple html editor for .NET applications

, 27 Aug 2006
Rate this:
Please Sign up or sign in to vote.
This is a simple html editor

Sample Image - HtmlEditor.jpg

Introduction

Sorry by my poor english. It is a symple WYSIWYG editor to insert html code in our applications.

Features

  • WYSIWYG Editor using the DHTML Editor of Internet Explorer
  • Edit mode / Browse mode / Source code editor
[Browsable(true)]
        [Category("Behavior")]
        [Description("Is ReadOnly.")]
        public bool IsEditable {
            get { return this.edit.IsDesignMode; }
            set { this.edit.IsDesignMode = value; }
        }

        [Browsable(true)]
        [Category("Behavior")]
        [Description("Edit mode / Browse mode.")]
        public bool ShowToolbar {
            get {
                if (this.splitContainer1.SplitterDistance < 30) return false;
                else return true;
            }
            set {
                if (value == true) this.splitContainer1.SplitterDistance = 30;
                else this.splitContainer1.SplitterDistance = 0;
            }
        }

Text in bold:
     this.edit.Document.execCommand("bold", false, null);

Why HtmlEditor?

Because its free. Because you can modified.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Javier Lema
Software Developer (Senior)
Spain Spain
Hi, My name is Javier Lema, i work in galicia (spain) as c#, php analist.

Comments and Discussions

 
QuestionNeed to supress the error message PinmemberChandrakant Mane26-May-13 23:49 
GeneralMy vote of 1 PinmemberLus Oliveira2-Nov-11 6:03 
Many problems with links, objects, some simple HTML tags and other. A better choise is using RichTextBox.
QuestionProblem on Windwos XP Pinmemberkamran8513-Sep-11 5:20 
QuestionVb.net Pinmemberkamran8524-Aug-11 7:06 
Questionhow to decrease Line Spacing?? Pinmemberai_mueller9-Oct-10 4:17 
AnswerRe: how to decrease Line Spacing?? PinmemberIvica762-Jun-11 22:56 
GeneralVB.NET 2003 Pinmembermontapas31-Aug-06 4:47 
GeneralCorrupt Download PinmemberBrendan Grant12-May-06 12:23 
GeneralRe: Corrupt Download PinmemberJavier Lema14-May-06 22:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 28 Aug 2006
Article Copyright 2006 by Javier Lema
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid