Ektron CMS400.NET API Documentation
|
Specifies the content ID to load. This value must match a value that exists in the CMS database. The selection of content is similar to that in the ContentBlock control. The content can only be accessed if the user is logged in. This value can be set only on editor load, before the editor and contents are rendered. After editor load, this value is ignored.
If this value is 0, then the code behind must handle making the calls that check out content and setting the content at edit time by placing it into the .Text property for the editor.
A hidden field, named EktContentID_[ControlName], is created to hold this value. It is posted up with the rest of the content.
[Bindable(true)] [Browsable(true)] [DesignOnly(false)] [Category("Ektron")] [NotifyParentProperty(true)] [ParenthesizePropertyName(true)] [Editor(typeof(ContentBlockUITypeEditor), typeof(System.Drawing.Design.UITypeEditor))] [DefaultValue(0)] [Description("The CMS ID of the content to load.")] public long ContentID;
<Bindable(true)> <Browsable(true)> <DesignOnly(false)> <Category("Ektron")> <NotifyParentProperty(true)> <ParenthesizePropertyName(true)> <Editor(typeof(ContentBlockUITypeEditor), typeof(System.Drawing.Design.UITypeEditor))> <DefaultValue(0)> <Description("The CMS ID of the content to load.")> Public Property ContentID() As long
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|