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

This is a simple html editor for .NET applications

By , 27 Aug 2006
Rate this:
Please Sign up or sign in to vote.

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

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 22:49 
GeneralMy vote of 1 PinmemberLus Oliveira2-Nov-11 5:03 
QuestionProblem on Windwos XP Pinmemberkamran8513-Sep-11 4:20 
I converted the code in VB.net and added the reference its works great.
 
But the problems is on Windows XP machines. I have tried everything from A-Z. Registering dll regsvr32 and regasm etc etc. Also I tried microsoft.html.dll.
 
Not having success.
 
Please help
hi

QuestionVb.net Pinmemberkamran8524-Aug-11 6:06 
Questionhow to decrease Line Spacing?? Pinmemberai_mueller9-Oct-10 3:17 
AnswerRe: how to decrease Line Spacing?? PinmemberIvica762-Jun-11 21:56 
GeneralVB.NET 2003 Pinmembermontapas31-Aug-06 3:47 
GeneralCorrupt Download PinmemberBrendan Grant12-May-06 11:23 
GeneralRe: Corrupt Download PinmemberJavier Lema14-May-06 21: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 | Mobile
Web04 | 2.8.140415.2 | Last Updated 28 Aug 2006
Article Copyright 2006 by Javier Lema
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid