strange characters (#1#7tr#5ng#2)

Last post 03-25-2009, 11:31 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-25-2009, 10:17 AM 50260

    strange characters (#1#7tr#5ng#2)

    Hi,
     
    I am getting strange characters as the postback values of the control.  What I am doing is the following:
     
    * Generating a cuteEditor control dynamically (along with other input controls) on my asp.net page.
     
    * Typing boldText into the cute editor and marking it bold.

    * On postback, retrieving the controls' values from the Request.Form object based on their id.  However, the value available for the cuteEditor's ID comes back as  #1#7tr#5ng#2boldText#1/#7tr#5ng#2 .
     
    Is this how cuteEditor encodes its value?
     
    If I create a new cuteEditor and then assign it's XHTML (or text, it seems to make no difference) to that value, then that string gets displayed literally.  I presume it is not getting re-encoded?
     
    Please let me know what i can do to fix this.  Other than this problem, we are finding cuteEditor to be a great product.  However, before we can commit to it we have to know if we will be able to solve this.
     
    Thanks.
  •  03-25-2009, 11:31 AM 50261 in reply to 50260

    Re: strange characters (#1#7tr#5ng#2)

    >>retrieving the controls' values from the Request.Form
     
    Please set the following property to false.
     

    Editor.EncodeHiddenValue Property

    By default Cute Editor will encode the value in the Hidden field automatically. You can turn it off by setting this property to "false". If this property is set to false, ValidateRequest="false" in the page directive is required.


    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

View as RSS news feed in XML