I created an aspx-page and use the dotnet-provider for FCK editor.
I can set the value of the text in the FCK editor.
Last week i tested the site on FF and everything was working well.
Somebody else tested on IE, and that was not working well.
The value typed in the FCK editor was not changed in the hidden FCK editor field.
I couldn't find the problem, so I upgraded to the last version of FCK editor and the last version of FCK editor.net-provider.
Since then I have the same problem on FF. The value of the hidden field is not updated .
What have I forgotten to do?
I removed all the cache.
I've tested on different pc's.
I can set the value of the text in the FCK editor.
Last week i tested the site on FF and everything was working well.
Somebody else tested on IE, and that was not working well.
The value typed in the FCK editor was not changed in the hidden FCK editor field.
I couldn't find the problem, so I upgraded to the last version of FCK editor and the last version of FCK editor.net-provider.
Since then I have the same problem on FF. The value of the hidden field is not updated .
What have I forgotten to do?
I removed all the cache.
I've tested on different pc's.
RE: Problem with Asp.Net and FCK editor
Use the new event structure... if you're setting the value on post, for example, do something like this:
<script language="javascript">
function FCKeditor_OnComplete(editorInstance)
{
editorInstance.Events.AttachEvent('OnAfterLinkedFieldUpdate',escapeValue)
}
function escapeValue(editorInstance)
{
editorInstance.LinkedField.value = escape(editorInstance.LinkedField.value);
}
</script>
where in this particular caes I'm encoding it so ASP.NET doesn't vomit all over the user.
RE: Problem with Asp.Net and FCK editor
I've cleaned all caches.
RE: Problem with Asp.Net and FCK editor
Try adding them directly to the page, and then when you have them working move them off. In the meantime, try adding an alert() message in your event handler to make sure it's actually hitting your handler.
RE: Problem with Asp.Net and FCK editor
The alert of "FCKeditor_OnComplete" appears, but the alert of "escapeValue" is not appearing.
RE: Problem with Asp.Net and FCK editor
RE: Problem with Asp.Net and FCK editor
<%@ Page Language="VB" enableviewstate="true" autoeventwireup=true aspcompat="false" trace="false" debug="true" Validaterequest="false"%>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<script language="VB" runat="server">
Sub Verwerk_Click(sender As Object, e As CommandEventArgs)
fckHeadText.Text = FCKeditor1.value
End Sub
</script>
RE: Problem with Asp.Net and FCK editor
I copy the testpage to my computer and started the webserver and there the test page is working on the right way. So it is not the source but a setting on the server. The web.config are the same.
Has anyone an idea?