kindeditor is very good, no fornet expansion, I was engaged in. NET development, use it to simply encapsulate a control, drag over to use, easier to use
Kindeditor very good, just contact soon, very much like. Kindeditor site has forphp and other extensions, there is no fornet. I was doing. NET development, it simply encapsulates a control, drag over to use, easier to use. Source code for everyone, interested friends can be further improved. 1, the first use, you need to configure the web.config. Code as follows: <configSections> <section name= "Kindeditor" type= "Kindeditorfordotnet.confighandler, Kindeditorfordotnet "/> </configSections> <KindEditor> <!--edit path--> <item key=" BasePath " Value= "~/kindeditor"/> <!--upload file path--> <item key= "Uploadpath" value= "~/upload"/> <!--topic type--> <item key= "Theme:simple" value= "FontName", ' fontsize ', ' | ', ' forecolor ', ' hilitecolor ', ' bold ', ' Italic ', ' Underline ', ' removeformat ', ' | ', ' justifyleft ', ' justifycenter ', ' justifyright ', ' insertorderedlist ', ' Insertunorderedlist ', ' | ', ' emoticons ', ' image ', ' link ', '/> <item key= ' theme:book ' value= ' ForeColor ', ' Hilitecolor ', ' bold ', ' italic ', ' underline ', ' Removeformat '/> </KindEditor> 2, and then referencing DLL files, Include Kindeditorfordotnet, LitJSON.dll 3, so that sometimes you can drag controls directly into the WebForm, if the control does not appear in theControl column, direct reference can also be code as follows: <%@ Page language= "C #" autoeventwireup= "true" codebehind= "Default.aspx.cs" Inherits = "Editordemo._default"%> <%@ Register assembly= "kindeditorfordotnet" namespace= "Kindeditorfordotnet" tagprefix= "CC1"%> <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml "> <head runat=" Server "> <title> Untitled page </title> </head> <body> <form id= "Form1" runat= "Server" > <div> Note: The control inherits from the TextBox; You can set width, Height, Enabled (read only) <hr/> default style <br/> <cc1:editor id= "Editor1" runat= "Server" height= "100px" Width= "100%" ></cc1:editor><br/> Custom style (style from web.config configuration) <br/> <cc1:editor ID= "Editor2" runat= "Server" themetype= "simple" height= "100px" ></cc1:Editor></div> display word number (has been entered: <span class= " Count "></span>" <br/> <cc1:editor id= "Editor3" runat= "sErver "themetype=" book "afterchange=" function () {K ('. Count '). HTML (this.count (' text ')} "height=" 60px "width=" 300px " ></cc1:Editor> <hr/> </form> </body> </html>