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

Determine if the Map server control accesses the CMS search to return results.

  • True = Map server control accesses the CMS search to return results.
  • False = Display a map with only one content item, that is, a single location. Specify this item at the ContentID property. In this case, the map does not find other CMS content whose longitude and latitude are within the map’s boundaries.
True is the default.  

Site visitors viewing the map can still use the Search and Directions tabs to get directions to the location.  

For example, your site features homes for sale, and you want a map to show a featured home of the week. To do so, set this property to False, and enter the content block that describes that home in the ContentID field.

C#
[Bindable(true), Category("Ektron"), DefaultValue(true)]
[Description("Enable or disable catalog search.")]
public bool EnableSearchResult;
Visual Basic
<Bindable(true), Category("Ektron"), DefaultValue(true)>
<Description("Enable or disable catalog search.")>
Public Property EnableSearchResult() 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!