You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > HtmlEditor Class > HtmlEditor Properties > SafeEncode
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
HtmlEditor.SafeEncode Property

If true, then the posted HTML is encoded using URL encoding. This makes the transfer secure. If the content is encoded then it must be decoded on the receiving side. 

If the decode process is not wanted, then set this value to false. This will require the validateRequest attribute in the page definition be set to false.

C#
[Bindable(true)]
[Browsable(true)]
[DesignOnly(false)]
[Category("Ektron")]
[NotifyParentProperty(true)]
[ParenthesizePropertyName(false)]
[DefaultValue(true)]
[Description("Set to True to encode the HTML content.")]
public bool SafeEncode;
Visual Basic
<Bindable(true)>
<Browsable(true)>
<DesignOnly(false)>
<Category("Ektron")>
<NotifyParentProperty(true)>
<ParenthesizePropertyName(false)>
<DefaultValue(true)>
<Description("Set to True to encode the HTML content.")>
Public Property SafeEncode() As bool

validateRequest="false"

@Page Language="VB" validateRequest="false" AutoEventWireup="false" CodeFile="EditAnyHtmlSample.aspx.vb" Inherits="EditAnyHtmlSample"

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!