Editor encoding characters wrongly. EnableAntiSpamEmailEncoder=false

Last post 09-27-2007, 5:09 AM by ClearChannel. 2 replies.
Sort Posts: Previous Next
  •  09-26-2007, 11:48 AM 33839

    Editor encoding characters wrongly. EnableAntiSpamEmailEncoder=false

    I have a problem and I need some sort of answer for why it is doing what it is as I can not work out why and I have been using this editor for over 18 months now!!! ALSO I have had no reply from support on this issue as to why it is ignoring the value of false that I am setting.
     
    I have the following editor in my page at the top.

    <%
    @ Page Language="VB" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="editsuite_Content_default" %>
    <%
    @ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    This is how I include the editor:
    <CE:Editor EnableAntiSpamEmailEncoder="false" id="ContentTextBox" runat="server" height="500px" width="750px" RemoveServerNamesFromUrl="false" UseRelativeLinks="false" BackColor="#FBFBFB" BorderColor="#CCCCCC" CustomCulture="en" ThemeType="Office2003" EditorWysiwygModeCss="~/css/editsuite_editor.css" EnableStripScriptTags="False"></CE:Editor>
     
    Here is the code in my page behind file:
     

    Imports System
    Imports System.Data
    Imports System.IO
    Imports System.IO.File
    Imports System.Net
    Imports System.Net.Mail
    Imports System.Text
    Imports editSuite_Display
    Imports dbAdmin

    Partial Class editsuite_Content_Default
    Inherits System.Web.UI.Page
    Public doGlobal As New esGlobal
    Public doInsert As New dbInsert
     
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
    Response.Write(Server.HtmlDecode(Request.Form("ContentTextBox")))
    End Sub

    End Class

  •  09-26-2007, 12:10 PM 33840 in reply to 33839

    Re: Editor encoding characters wrongly. EnableAntiSpamEmailEncoder=false

    Change:

    Response.Write(Server.HtmlDecode(Request.Form(
    "ContentTextBox")))
     
    to:
     
    Response.Write(ContentTextBox.Text)
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-27-2007, 5:09 AM 33861 in reply to 33840

    Re: Editor encoding characters wrongly. EnableAntiSpamEmailEncoder=false

    How stupid of me !!!
     
    For some some reason I went back to using standard asp form requests :S
     
    Thanks again
View as RSS news feed in XML