1. Introduce the FredCK. FCKeditorV2.dll File
<! -- StartFragment -->
2. Upload on the aspx page
Java code
<FCKeditorV2: FCKeditor ID = "FCKeditor1" runat = "server">
</FCKeditorV2: FCKeditor>
<Asp: Button ID = "Button1" runat = "server" Text = "Button" onclick = "button#click"/>
3. Put all the fckeditor folders in the downloaded FCK into the project.
4. Modify the Web. config file // www.heatpress123.net
Java code
<Configuration>
<System. web>
<Compilation debug = "true" targetFramework = "4.0"/>
<Span style = "background-color: # ff0000;"> <Pages validateRequest = "false"/> </span>
</System. web>
<Span style = "background-color: # ff0000;"> <appSettings>
<Add key = "FCKeditor: UserFilesPath" value = "/upload"/>
</AppSettings> </span>
</Configuration>
5. Modify fckconfig. js in the fckeditor folder.
Java code
Var _ FileBrowserLanguage = '<span style = "background-color: # ff0000;"> aspx </span> '; // asp | aspx | cfm | lasso | perl | php | py
Var _ QuickUploadLanguage = '<span style = "background-color: # ff0000;"> aspx </span> '; // asp | aspx | cfm | lasso | perl | php | py
6. Modify config. ascx in the fckeditor \ editor \ filemanager \ connectors \ aspx folder.
Java code
Private bool CheckAuthentication ()
{
Return <span style = "background-color: # ff0000;"> true </span>;
}
Java code:
Public override void SetConfig ()
{
// SECURITY: You must explicitly enable this "connector". (Set it to "true ").
Enabled = CheckAuthentication ();
// URL path to user files.
UserFilesPath = <span style = "background-color: # ff0000;"> "/upload </span> /";
At this point, the problem of uploading images can be solved !!!