I have a WebForm that contains the following definition for the FCKeditor:
<FCKeditorV2:FCKeditor ID="txtBody" runat="server"
BasePath="/fckeditor/"
Height="480px"
ToolbarSet="WebCal1"
>
</FCKeditorV2:FCKeditor>
This works fine in my VS2008-based web application. However, when I deploy it to a Virtual Directory in IIS, it looks for the FCKEditor files (e.g. javascript, stylesheets, etc...) in the /fckeditor
folder, not in the /MyVirtualDir/fkceditor
.
I've tried changing the BasePath to ~/fckeditor/
, but then it won't work on my dev machine.
What is the right way to go, so that the FCKEditor maps onto the right directory. In my project the fckeditor
directory is right off the root.