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

Set to True if you want to randomly display one content block link from the content list. The content changes each time a user views the page.

  • True - randomly display one content block in the specified folder.
  • False - display the content list normally.

C#
[Bindable(true)]
[Category("Ektron")]
[DefaultValue(0)]
[Description("Set this property to True to grab a single, random piece of content from the content list.")]
public bool Random;
Visual Basic
<Bindable(true)>
<Category("Ektron")>
<DefaultValue(0)>
<Description("Set this property to True to grab a single, random piece of content from the content list.")>
Public Property Random() As bool
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!