C# Class Engage.Dnn.Locator.MainDisplay

显示文件 Open project: EngageSoftware/Engage-Locator

Protected Properties

Property Type Description
AddressFirstLineSection global::System.Web.UI.HtmlControls.HtmlGenericControl
CurrentLocationLabel global::System.Web.UI.WebControls.Label
CurrentLocationsLabel global::System.Web.UI.WebControls.Label
CurrentPageLabel global::System.Web.UI.WebControls.Label
DrivingDirectionsLink global::System.Web.UI.WebControls.HyperLink
ErrorMessageLabel global::System.Web.UI.WebControls.Label
FilterCountryDropDownList global::System.Web.UI.WebControls.DropDownList
FilterCountryLabel global::System.Web.UI.WebControls.Label
FilterCountryPanel global::System.Web.UI.WebControls.Panel
HeaderLabel global::System.Web.UI.WebControls.Label
Label1 global::System.Web.UI.WebControls.Label
LocationsListRepeater global::System.Web.UI.WebControls.Repeater
LocationsListView global::System.Web.UI.WebControls.View
LocatorDisplayMultiView global::System.Web.UI.WebControls.MultiView
LocatorMapLabel global::System.Web.UI.WebControls.Label
MapLinkDrivingDirectionsLabel global::System.Web.UI.WebControls.Label
MapLinkMapNameLabel global::System.Web.UI.WebControls.Label
MapLinkPanel global::System.Web.UI.WebControls.Panel
MapSection global::System.Web.UI.HtmlControls.HtmlGenericControl
NewSearchButton global::System.Web.UI.WebControls.Button
NextPageLink global::System.Web.UI.WebControls.HyperLink
PreviousPageLink global::System.Web.UI.WebControls.HyperLink
ScrollToViewMoreLabel global::System.Web.UI.WebControls.Label
SearchAddressLabel global::System.Web.UI.WebControls.Label
SearchAddressPanel global::System.Web.UI.WebControls.Panel
SearchAddressTextBox global::System.Web.UI.WebControls.TextBox
SearchCityLabel global::System.Web.UI.WebControls.Label
SearchCitySection global::System.Web.UI.HtmlControls.HtmlGenericControl
SearchCityTextBox global::System.Web.UI.WebControls.TextBox
SearchCountryDropDownList global::System.Web.UI.WebControls.DropDownList
SearchCountryLabel global::System.Web.UI.WebControls.Label
SearchCountrySection global::System.Web.UI.HtmlControls.HtmlGenericControl
SearchErrorPanel global::System.Web.UI.WebControls.Panel
SearchPanel global::System.Web.UI.WebControls.Panel
SearchPostalCodeLabel global::System.Web.UI.WebControls.Label
SearchPostalCodeSection global::System.Web.UI.HtmlControls.HtmlGenericControl
SearchPostalCodeTextBox global::System.Web.UI.WebControls.TextBox
SearchRadiusDropDownList global::System.Web.UI.WebControls.DropDownList
SearchRadiusLabel global::System.Web.UI.WebControls.Label
SearchRadiusPanel global::System.Web.UI.WebControls.Panel
SearchRegionDropDownList global::System.Web.UI.WebControls.DropDownList
SearchRegionLabel global::System.Web.UI.WebControls.Label
SearchRegionSection global::System.Web.UI.HtmlControls.HtmlGenericControl
SearchSubmitButton global::System.Web.UI.WebControls.Button
SearchTitleLabel global::System.Web.UI.WebControls.Label
SetupLabel global::System.Web.UI.WebControls.Label
SetupPanel global::System.Web.UI.WebControls.Panel
SetupView global::System.Web.UI.WebControls.View
ShowAllLocationsButton global::System.Web.UI.WebControls.Button
SubmitLocationFromListButton global::System.Web.UI.WebControls.Button
SubmitLocationFromSearchButton global::System.Web.UI.WebControls.Button
lbImportFile global::System.Web.UI.WebControls.ImageButton
lbLocationTypes global::System.Web.UI.WebControls.ImageButton
lbManageComments global::System.Web.UI.WebControls.ImageButton
lbManageLocations global::System.Web.UI.WebControls.ImageButton
lbSettings global::System.Web.UI.WebControls.ImageButton

Private Properties

Property Type Description
AddParameter void
AddParameter void
ConfigurePaging void
DisablePagingLink void
DisplayLocationList void
FillCountry void
FillDropDowns void
FillSearchPanel void
GenerateUrlForPage string
GetDefaultLocations LocationCollection
HasSearchCriteria bool
LocationsListRepeater_ItemDataBound void
NewSearchButton_Click void
Page_Load void
SearchSubmitButton_Click void
SetSearchDisplay void
ShowAllLocationsButton_Click void
ShowMaps void
SubmitLocationButton_Click void

Public Methods

Method Description
IsConfigured ( int tabModuleId, string &error ) : bool

Determines whether the instance with the specified TabModuleId is configured.

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Private Methods

Method Description
AddParameter ( ICollection parameters, string key ) : void

Adds the QueryString parameter with the given key to the list of parameters, if it is already on the QueryString.

AddParameter ( ICollection parameters, string key, string value ) : void

Adds the QueryString parameter with the given key to the list of parameters, if it is already on the QueryString.

ConfigurePaging ( ItemPagingState pagingState ) : void

Configures the paging, setting the links to the previous and next buttons, setting label text, etc.

DisablePagingLink ( HyperLink pageLink ) : void

Disables the paging link.

DisplayLocationList ( ) : void

Displays the location list.

FillCountry ( ) : void

Fills the drop down list of countries.

FillDropDowns ( ) : void

Fills the drop down lists on the search form. Also shows or hides them based on the module's settings

FillSearchPanel ( ) : void

Fills the search panel.

GenerateUrlForPage ( int pageIndex ) : string

Generates the URL for the listing.

GetDefaultLocations ( ) : LocationCollection

Gets the default list of all locations.

HasSearchCriteria ( ) : bool

Determines whether there is search criteria.

LocationsListRepeater_ItemDataBound ( object sender, RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the LocationsListRepeater control.

NewSearchButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the NewSearchButton control.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

SearchSubmitButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the SearchSubmitButton control.

SetSearchDisplay ( ) : void

Sets the visibility of the search components, based on this module's settings

ShowAllLocationsButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the ShowAllLocationsButton control.

ShowMaps ( LocationCollection locations ) : void

Sets up and shows the map.

SubmitLocationButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the SubmitLocationFromSearchButton and SubmitLocationFromListButton controls.

Method Details

IsConfigured() public static method

Determines whether the instance with the specified TabModuleId is configured.
public static IsConfigured ( int tabModuleId, string &error ) : bool
tabModuleId int The TabModuleId.
error string The error message.
return bool

OnInit() protected method

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs The instance containing the event data.
return void

Property Details

AddressFirstLineSection protected_oe property

AddressFirstLineSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl AddressFirstLineSection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

CurrentLocationLabel protected_oe property

CurrentLocationLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label CurrentLocationLabel
return global::System.Web.UI.WebControls.Label

CurrentLocationsLabel protected_oe property

CurrentLocationsLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label CurrentLocationsLabel
return global::System.Web.UI.WebControls.Label

CurrentPageLabel protected_oe property

CurrentPageLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label CurrentPageLabel
return global::System.Web.UI.WebControls.Label

DrivingDirectionsLink protected_oe property

DrivingDirectionsLink control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink DrivingDirectionsLink
return global::System.Web.UI.WebControls.HyperLink

ErrorMessageLabel protected_oe property

ErrorMessageLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ErrorMessageLabel
return global::System.Web.UI.WebControls.Label

FilterCountryDropDownList protected_oe property

FilterCountryDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList FilterCountryDropDownList
return global::System.Web.UI.WebControls.DropDownList

FilterCountryLabel protected_oe property

FilterCountryLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label FilterCountryLabel
return global::System.Web.UI.WebControls.Label

FilterCountryPanel protected_oe property

FilterCountryPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel FilterCountryPanel
return global::System.Web.UI.WebControls.Panel

HeaderLabel protected_oe property

HeaderLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label HeaderLabel
return global::System.Web.UI.WebControls.Label

Label1 protected_oe property

Label1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label1
return global::System.Web.UI.WebControls.Label

LocationsListRepeater protected_oe property

LocationsListRepeater control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater LocationsListRepeater
return global::System.Web.UI.WebControls.Repeater

LocationsListView protected_oe property

LocationsListView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View LocationsListView
return global::System.Web.UI.WebControls.View

LocatorDisplayMultiView protected_oe property

LocatorDisplayMultiView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.MultiView LocatorDisplayMultiView
return global::System.Web.UI.WebControls.MultiView

LocatorMapLabel protected_oe property

LocatorMapLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label LocatorMapLabel
return global::System.Web.UI.WebControls.Label

MapLinkDrivingDirectionsLabel protected_oe property

MapLinkDrivingDirectionsLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label MapLinkDrivingDirectionsLabel
return global::System.Web.UI.WebControls.Label

MapLinkMapNameLabel protected_oe property

MapLinkMapNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label MapLinkMapNameLabel
return global::System.Web.UI.WebControls.Label

MapLinkPanel protected_oe property

MapLinkPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel MapLinkPanel
return global::System.Web.UI.WebControls.Panel

MapSection protected_oe property

MapSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl MapSection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

NewSearchButton protected_oe property

NewSearchButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button NewSearchButton
return global::System.Web.UI.WebControls.Button

NextPageLink protected_oe property

NextPageLink control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink NextPageLink
return global::System.Web.UI.WebControls.HyperLink

PreviousPageLink protected_oe property

PreviousPageLink control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink PreviousPageLink
return global::System.Web.UI.WebControls.HyperLink

ScrollToViewMoreLabel protected_oe property

ScrollToViewMoreLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ScrollToViewMoreLabel
return global::System.Web.UI.WebControls.Label

SearchAddressLabel protected_oe property

SearchAddressLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchAddressLabel
return global::System.Web.UI.WebControls.Label

SearchAddressPanel protected_oe property

SearchAddressPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SearchAddressPanel
return global::System.Web.UI.WebControls.Panel

SearchAddressTextBox protected_oe property

SearchAddressTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox SearchAddressTextBox
return global::System.Web.UI.WebControls.TextBox

SearchCityLabel protected_oe property

SearchCityLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchCityLabel
return global::System.Web.UI.WebControls.Label

SearchCitySection protected_oe property

SearchCitySection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl SearchCitySection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchCityTextBox protected_oe property

SearchCityTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox SearchCityTextBox
return global::System.Web.UI.WebControls.TextBox

SearchCountryDropDownList protected_oe property

SearchCountryDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList SearchCountryDropDownList
return global::System.Web.UI.WebControls.DropDownList

SearchCountryLabel protected_oe property

SearchCountryLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchCountryLabel
return global::System.Web.UI.WebControls.Label

SearchCountrySection protected_oe property

SearchCountrySection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl SearchCountrySection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchErrorPanel protected_oe property

SearchErrorPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SearchErrorPanel
return global::System.Web.UI.WebControls.Panel

SearchPanel protected_oe property

SearchPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SearchPanel
return global::System.Web.UI.WebControls.Panel

SearchPostalCodeLabel protected_oe property

SearchPostalCodeLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchPostalCodeLabel
return global::System.Web.UI.WebControls.Label

SearchPostalCodeSection protected_oe property

SearchPostalCodeSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl SearchPostalCodeSection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchPostalCodeTextBox protected_oe property

SearchPostalCodeTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox SearchPostalCodeTextBox
return global::System.Web.UI.WebControls.TextBox

SearchRadiusDropDownList protected_oe property

SearchRadiusDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList SearchRadiusDropDownList
return global::System.Web.UI.WebControls.DropDownList

SearchRadiusLabel protected_oe property

SearchRadiusLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchRadiusLabel
return global::System.Web.UI.WebControls.Label

SearchRadiusPanel protected_oe property

SearchRadiusPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SearchRadiusPanel
return global::System.Web.UI.WebControls.Panel

SearchRegionDropDownList protected_oe property

SearchRegionDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList SearchRegionDropDownList
return global::System.Web.UI.WebControls.DropDownList

SearchRegionLabel protected_oe property

SearchRegionLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchRegionLabel
return global::System.Web.UI.WebControls.Label

SearchRegionSection protected_oe property

SearchRegionSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl SearchRegionSection
return global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchSubmitButton protected_oe property

SearchSubmitButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SearchSubmitButton
return global::System.Web.UI.WebControls.Button

SearchTitleLabel protected_oe property

SearchTitleLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SearchTitleLabel
return global::System.Web.UI.WebControls.Label

SetupLabel protected_oe property

SetupLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label SetupLabel
return global::System.Web.UI.WebControls.Label

SetupPanel protected_oe property

SetupPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel SetupPanel
return global::System.Web.UI.WebControls.Panel

SetupView protected_oe property

SetupView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SetupView
return global::System.Web.UI.WebControls.View

ShowAllLocationsButton protected_oe property

ShowAllLocationsButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button ShowAllLocationsButton
return global::System.Web.UI.WebControls.Button

SubmitLocationFromListButton protected_oe property

SubmitLocationFromListButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SubmitLocationFromListButton
return global::System.Web.UI.WebControls.Button

SubmitLocationFromSearchButton protected_oe property

SubmitLocationFromSearchButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SubmitLocationFromSearchButton
return global::System.Web.UI.WebControls.Button

lbImportFile protected_oe property

lbImportFile control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton lbImportFile
return global::System.Web.UI.WebControls.ImageButton

lbLocationTypes protected_oe property

lbLocationTypes control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton lbLocationTypes
return global::System.Web.UI.WebControls.ImageButton

lbManageComments protected_oe property

lbManageComments control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton lbManageComments
return global::System.Web.UI.WebControls.ImageButton

lbManageLocations protected_oe property

lbManageLocations control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton lbManageLocations
return global::System.Web.UI.WebControls.ImageButton

lbSettings protected_oe property

lbSettings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton lbSettings
return global::System.Web.UI.WebControls.ImageButton