The Location type exposes the following members.

Constructors

  Name Description
Public method Location
Constructor

Methods

  Name Description
Public method RaisePostBackEvent
Raises an event for the System.Web.UI.WebControls.Location control when it posts back to the server.

Properties

  Name Description
Public property AutoFoundPrefixText
Gets or sets the prefix for the auto found location information.
Public property AutoPostBack
Gets or sets the value that will force to postback.
Public property AutoRefreshInterval
Gets or sets the AutoRefresh timeout for locaton identification by Javascript API.
Public property ButtonStyle
Gets the style properties for buttons.
Public property ButtonStyleID
Styles Control ID with Filter(s) collection to apply style to button control(s).
Public property City
The city of found location.
Public property ClientID
Gets the server control short identifier generated by Framework.
(Overrides Control..::..ClientID.)
Public property Country
The country of found location.
Public property CssIncludeGroup
Determines the CSS group the controls automatically generated style information will be part of.
Public property CurrentLocationText
Gets or sets the current location text.
Public property DisplayLocation
Gets or sets the value that enables the user to view the location information.
Public property DropDownListStyle
Gets the style properties for DropDownLists.
Public property DropDownListStyleID
Styles Control ID with Filter(s) collection to apply style to label control(s).
Public property EnterLocationLabelText
Gets or sets the label message to instruct the user to provide location into the text box.
Public property FindLocationButtonText
Gets or sets the text on button.
Public property GeoCodeMaxItems
Gets or Sets the maximum number of values to remember by Location control in GeoCode mode which are entered by the user.

When used along with ProfileDataKey property it allows user to share the saved items across the Location control instances.

Public property GeoCodeTimeout
Gets or sets the timeout for locaton identification by GeoCode API call on server side.
Public property GeoSearchCountryCode
Gets or sets the value that define the accuracy level of the location to be searched.
Public property GeoSearchCountryMode
Gets or sets the value that define the accuracy level of the location to be searched.
Public property GeoSearchFoundPrefixText
Gets or sets the prefix for the Geo search found location information.
Public property HighAccuracy
A boolean value indicates whether accuracy is required or not.
Public property IsAvailable
True if the mobile device has been successfully located and area information is available. False if not.
Public property IsError
Returns true if an error has occured and the location can not be found.
Public property LabelStyle
Gets the style properties for labels.
Public property LabelStyleID
Styles Control ID with Filter(s) collection to apply style to label control(s).
Public property Latitude
The latitude of found location.
Public property LocatingText
Gets or sets locating text message.
Public property LocationInfo
Returns the location info of the location.
Public property LocationNotFoundText
Gets or sets error message to be displayed when location not found.
Public property Longitude
The longitude of found location.
Public property Mode
Gets or sets the value that define the accuracy level of the location to be searched.
Public property MultipleLocationFoundLabelText
Gets or sets the text for multiple location list box.
Public property PersistState
Gets or sets the bool value to indicate the Location to persist the last entered GeoCode search text into MobileProfile. Default value is true.
Public property ProfileDataKey
Controls within the same application can share previous historic entries using the ProfileDataKey. Set ProfileDataKey to the same value on different controls on the same page. needs to be enabled for ProfileDataKey to share previous entries.
Public property Radius
The radius of found location area.
Public property RequestAddress
A boolean value indicates whether human readable address is required or not.
Public property Source
Returns the source of the location information.
Public property State
The region/state of found location.
Public property StyleClientID
Returns the controls clientid as string
Public property StyleID
A list of filters that when matched can be used to override the default stylesheet.
Public property TextFieldAltItemStyle
Gets the style properties for TextField Alternate Items.
Public property TextFieldAltItemStyleID
Styles Control ID with Filter(s) collection to apply style to Text field alternate item.
Public property TextFieldItemsStyle
Gets the style properties for TextField Items.
Public property TextFieldItemsStyleID
Styles Control ID with Filter(s) collection to apply style to Text field items.
Public property TextFieldItemStyle
Gets the style properties for TextField Item.
Public property TextFieldItemStyleID
Styles Control ID with Filter(s) collection to apply style to Text field item.
Public property TextFieldStyle
Gets the style properties for textFields.
Public property TextFieldStyleID
Styles Control ID with Filter(s) collection to apply style to text field.
Public property Visible
Defines control's visibility
(Overrides Control..::..Visible.)

Events

  Name Description
Public event LocationFound
Raises event once location is identified if Mode = Client and AutoPostBack is set to true. Otherwise, once user confirms the location to be used which are identified by MaxMind and GeoCode search.

See Also