The Location type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Location |
Constructor
|
Methods
| Name | Description | |
|---|---|---|
|
|
RaisePostBackEvent |
Raises an event for the System.Web.UI.WebControls.Location control when it
posts back to the server.
|
Properties
| Name | Description | |
|---|---|---|
|
|
AutoFoundPrefixText |
Gets or sets the prefix for the auto found location information.
|
|
|
AutoPostBack |
Gets or sets the value that will force to postback.
|
|
|
AutoRefreshInterval |
Gets or sets the AutoRefresh timeout for locaton identification by Javascript API.
|
|
|
ButtonStyle |
Gets the style properties for buttons.
|
|
|
ButtonStyleID |
Styles Control ID with Filter(s) collection to apply style to button control(s).
|
|
|
City |
The city of found location.
|
|
|
ClientID |
Gets the server control short identifier generated by Framework.
(Overrides Control..::..ClientID.) |
|
|
Country |
The country of found location.
|
|
|
CssIncludeGroup |
Determines the CSS group the controls automatically generated style information will be part of.
|
|
|
CurrentLocationText |
Gets or sets the current location text.
|
|
|
DisplayLocation |
Gets or sets the value that enables the user to view the location information.
|
|
|
DropDownListStyle |
Gets the style properties for DropDownLists.
|
|
|
DropDownListStyleID |
Styles Control ID with Filter(s) collection to apply style to label control(s).
|
|
|
EnterLocationLabelText |
Gets or sets the label message to instruct the user to provide
location into the text box.
|
|
|
FindLocationButtonText |
Gets or sets the text on button.
|
|
|
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. |
|
|
GeoCodeTimeout |
Gets or sets the timeout for locaton identification by GeoCode API call on server side.
|
|
|
GeoSearchCountryCode |
Gets or sets the value that define the accuracy level of the location to be searched.
|
|
|
GeoSearchCountryMode |
Gets or sets the value that define the accuracy level of the location to be searched.
|
|
|
GeoSearchFoundPrefixText |
Gets or sets the prefix for the Geo search found location information.
|
|
|
HighAccuracy |
A boolean value indicates whether accuracy is required or not.
|
|
|
IsAvailable |
True if the mobile device has been successfully located and area
information is available. False if not.
|
|
|
IsError |
Returns true if an error has occured and the location can not be
found.
|
|
|
LabelStyle |
Gets the style properties for labels.
|
|
|
LabelStyleID |
Styles Control ID with Filter(s) collection to apply style to label control(s).
|
|
|
Latitude |
The latitude of found location.
|
|
|
LocatingText |
Gets or sets locating text message.
|
|
|
LocationInfo |
Returns the location info of the location.
|
|
|
LocationNotFoundText |
Gets or sets error message to be displayed when location not found.
|
|
|
Longitude |
The longitude of found location.
|
|
|
Mode |
Gets or sets the value that define the accuracy level of the location to be searched.
|
|
|
MultipleLocationFoundLabelText |
Gets or sets the text for multiple location list box.
|
|
|
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.
|
|
|
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.
|
|
|
Radius |
The radius of found location area.
|
|
|
RequestAddress |
A boolean value indicates whether human readable address is required or not.
|
|
|
Source |
Returns the source of the location information.
|
|
|
State |
The region/state of found location.
|
|
|
StyleClientID |
Returns the controls clientid as string
|
|
|
StyleID |
A list of filters that when matched can be used to override the default stylesheet.
|
|
|
TextFieldAltItemStyle |
Gets the style properties for TextField Alternate Items.
|
|
|
TextFieldAltItemStyleID |
Styles Control ID with Filter(s) collection to apply style to Text field alternate item.
|
|
|
TextFieldItemsStyle |
Gets the style properties for TextField Items.
|
|
|
TextFieldItemsStyleID |
Styles Control ID with Filter(s) collection to apply style to Text field items.
|
|
|
TextFieldItemStyle |
Gets the style properties for TextField Item.
|
|
|
TextFieldItemStyleID |
Styles Control ID with Filter(s) collection to apply style to Text field item.
|
|
|
TextFieldStyle |
Gets the style properties for textFields.
|
|
|
TextFieldStyleID |
Styles Control ID with Filter(s) collection to apply style to text field.
|
|
|
Visible |
Defines control's visibility
(Overrides Control..::..Visible.) |
Events
| Name | Description | |
|---|---|---|
|
|
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.
|