Log in or register to post comments
Last post
config.ascx messes up my websites
Choosing the .ascx extension for a config file is a poor decision. My WebSites can't be built anymore with version 1.1.

Most of my Visual Studio solutions use the "WebSite" project. The thing with "WebSite projects" is that you cant really prevent a file residing into the projects directory from being added to the project (there are some solutions but none of them fit my needs). For that reason config.ascx is automatically added in the WebSite and guess what? config.ascx produces several build error and my Solutions cannot be built.

Moreover config.ascx prevents me from precompiling my websites. If I can't precompile my code, I have to upload the source to ftp sites which is highly undesirable.
Re: config.ascx messes up my websites
We have chosen to use an ascx file for the configuration because it actually gives a lot of power and flexibility. You can freely add code in the file, looking at session variables, retrieving data from the database, or whatever advanced feature you would need to properly setup CKFinder. It is a powerful feature.

But, looking at your problem, there should not be any issue on having ckfinder.ascx as part of the Web Site compilation. All you need, is having the CKFinder.dll file in your bin folder (being a reference in the VS project). This is in any case a requirement for CKFinder to run.

So, I would recommend you just adding CKFinder.dll in the references of your project.

Frederico Knabben
Project Lead for CKEditor
CEO at CKSource