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

Limits the length of any returned content’s abstract. To allow unlimited length, set to zero. This property is active only if both of these conditions are true.

  • you use the DisplayXslt property to identify an XSLT and ecmteaser as a value of that property.
  • the ShowCustomSummary property is set to false. If ShowCustomSummary is set to true, the entire summary appears in search results.

C#
[Bindable(true)]
[Browsable(true)]
[Category("Ektron")]
[DefaultValue(256)]
[Description("An optional search-result formatting parameter that limits the length of any returned content items' teaser/summary (or not truncate if set to zero).")]
public int MaxTeaserLength;
Visual Basic
<Bindable(true)>
<Browsable(true)>
<Category("Ektron")>
<DefaultValue(256)>
<Description("An optional search-result formatting parameter that limits the length of any returned content items' teaser/summary (or not truncate if set to zero).")>
Public Property MaxTeaserLength() As Integer
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!