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
 

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
Member
Hi, My name is Javier Lema, i work in galicia (spain) as c#, php analist.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 1 PinmemberLus Oliveira2 Nov '11 - 5: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 - 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 
I also need this to use in vb.net. Shall I add reference will it work that way.
 
hi
Questionhow to decrease Line Spacing?? Pinmemberai_mueller9 Oct '10 - 3:17 
it works fine!
 
But how to decrease line spacing??
AnswerRe: how to decrease Line Spacing?? PinmemberIvica762 Jun '11 - 21:56 
GeneralVB.NET 2003 Pinmembermontapas31 Aug '06 - 3:47 
How Can I use this code in VB.net 2003 pls help me.
 
Tapas
GeneralCorrupt Download PinmemberBrendan Grant12 May '06 - 11:23 
It appears that the zip file containing the source is corrupt and not openable.
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   

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