I don’t know if you have noticed:
FreeTextbox is no longer open source, although I still have its previous open source version.
The online editor used by CSDN is excellent.
Its name is FCKEditor
It is open source and platform independent. At least it can support Asp, Asp.net, and PHP.
Haha, I have been using FreeTextBox before (mainly I know it from Community Server).
However, I found that it is not as easy to use as expected, mainly because the uploaded pictures were not done well.
Okay, let’s get back to business, let’s talk about how our protagonist today, FCKEditor, is deployed in Asp.net.
First, download his website. Note here that you need to download two ZIP files, one is Core, which is the core file, which contains the core of the entire FCKEditor. The second one is a component for .net.
For the convenience of description, I have attached the real file name, and you will have to modify it flexibly in the future.
The downloaded core file is called FCKeditor_2.3.1.zip
The file for .net is called FCKeditor.Net_2.2.zip
Deployment steps:
Unzip FCKeditor_2.3.1.zip and copy the FCKEditor inside to your IIS home directory. In fact, the desired effect is to be able to access it like this http: //localhost/Fckeditor/ , change the variables of http://localhost/Fckeditor/fckconfig.js :
_FileBrowserLanguage, the value of _QuickUploadLanguage is changed to aspx,
Haha, it’s not difficult to do.
(Optional) Delete the files and folders starting with '_' in the copied FCKEditor. Of course, you don't need to delete them if you are developing. They are all examples and debugging pages.
Unzip FCKeditor.Net_2.2.zip, and then add the file binReleaseFredCK.FCKeditorV2.dll like adding a new control in VS.net 2003. Haha, you can drag and drop this control at will in the future.
(Important) Copy the above DLL file to http://localhost/FCKeditor/editor/filemanager/upload/aspx/bin/
Then in the IIS settings, let the directory http://localhost/FCKeditor/editor/filemanager/upload/aspx/ run Aspx
Similarly, the above process must be repeated for http://localhost/FCKeditor/editor/filemanager/browser/default/connectors/aspx/ .
Another simpler method is to copy FredCK.FCKeditorV2.dll to the http://localhost/FCKeditor/bin/ directory.
Then create the application in IIS.
The purpose of this step is to:
http://localhost/FCKeditor/editor/filemanager/browser/default/connectors/aspx/connector.aspx
http://localhost/FCKeditor/editor/filemanager/upload/aspx/upload.aspx
Both files work.
Okay, that's it. You can drag FCKEditor into aspx and set the BasePath to /FCKEditor/.
if:
http://localhost/FCKeditor/editor/filemanager/browser/default/connectors/aspx/connector.aspx is not working properly. When you browse the server, there will be an XML Request Error: XXXXXXXXXXXXXX (500) error.
http://localhost/FCKeditor/editor/filemanager/upload/aspx/upload.aspx
When you upload a picture, there is no response no matter how you press the button.
http://www.cnblogs.com/killkill/archive/2006/09/21/510293.html