Class: EmbeddedCurrentLocation

Cadcorp.UI.NoticeBoard.EmbeddedCurrentLocation

new EmbeddedCurrentLocation(config)

Creates the embedded quick search
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Extends

Members

containerID

Properties:
Name Type Description
containerID string The id of the container element for this emebdded search

currentLocation

Properties:
Name Type Description
currentLocation Cadcorp.UI.NoticeBoard.Location The current selected location or null
Inherited From:

currentLocationTitleText

Properties:
Name Type Description
currentLocationTitleText string The title to display next to the current location

id

Properties:
Name Type Description
id string The id for this control
Inherited From:

noticeBoardLinkText

Properties:
Name Type Description
NoticeBoardLinkText string The text to display for the link to the noticeboard

noticeBoardURL

Properties:
Name Type Description
noticeBoardURL string The url to the noticeboard page
Inherited From:
Default Value:
  • noticeboard.aspx

prefix

Properties:
Name Type Description
prefix string The asp.net client id
Inherited From:
Properties:
Name Type Description
showNoticeBoardLink boolean True to show the link to the noticeboard when the user selects a location, otherwise false.
Inherited From:

Methods

(protected) createCurrentLocationStructure(The)

Creates the dom structure for the quick search control
Parameters:
Name Type Description
The object configuration object supplied to the constructor

setCurrentLocation(The)

Sets the current location
Parameters:
Name Type Description
The Cadcorp.UI.NoticeBoard.Location current selected location
Inherited From: