Log in or register to post comments
Last post
Integration of ckfinder in ckeditor in ASP.NET
Hi Guys,

I used ckfinder in my ASP.NET 3.5 framework. But I do not know how can I integrate ckfinder in ckeditor. I tried some given solution http://docs.cksource.com/CKFinder_2.x/Developers_Guide/ASP.NET/CKEditor_Integration but ckfinder is not integrated with ckfinder. If you have any idea on this, please advise me asap.

I use visual studio 2008 and framework 3.5
Re: Integration of ckfinder in ckeditor in ASP.NET
you just simply add a reference for the ckeditor or put the bin file in the bin folder and then use the ckeditor tag wich you gain by putting

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

in the top of your site document

then you just use the ckeditor tag wich will look like this

<CKEditor:CKEditorControl ID="TextBox1" FilebrowserBrowseUrl="/ckfinder/ckfinder.html" FilebrowserImageBrowseUrl="/ckfinder/ckfinder.html?type=Images" FilebrowserUploadUrl="/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files" FilebrowserImageUploadUrl="/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images" runat="server"> </CKEditor:CKEditorControl>


the filebrowserimage option is to set the ckfinder as default when you use a button like image upload.

and ofcourse you need to change your security settings inside the config.ascx in the ckfinder map. Also make sure your urls in the ckeditor tag is linking to the ckfinder.html document wich is in the ckfinder map and then it should work.

hope this helps you out