C# Класс Engage.Dnn.Locator.MainDisplay

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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

Свойство Тип Описание
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

Открытые методы

Метод Описание
IsConfigured ( int tabModuleId, string &error ) : bool

Determines whether the instance with the specified TabModuleId is configured.

Защищенные методы

Метод Описание
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Приватные методы

Метод Описание
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.

Описание методов

IsConfigured() публичный статический Метод

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.
Результат bool

OnInit() защищенный Метод

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs The instance containing the event data.
Результат void

Описание свойств

AddressFirstLineSection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

CurrentLocationLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

CurrentLocationsLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

CurrentPageLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

DrivingDirectionsLink защищенное свойство

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
Результат global::System.Web.UI.WebControls.HyperLink

ErrorMessageLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

FilterCountryDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

FilterCountryLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

FilterCountryPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

HeaderLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

Label1 защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

LocationsListRepeater защищенное свойство

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
Результат global::System.Web.UI.WebControls.Repeater

LocationsListView защищенное свойство

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
Результат global::System.Web.UI.WebControls.View

LocatorDisplayMultiView защищенное свойство

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
Результат global::System.Web.UI.WebControls.MultiView

LocatorMapLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

MapLinkDrivingDirectionsLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

MapLinkMapNameLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

MapLinkPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

MapSection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

NewSearchButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

NextPageLink защищенное свойство

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
Результат global::System.Web.UI.WebControls.HyperLink

PreviousPageLink защищенное свойство

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
Результат global::System.Web.UI.WebControls.HyperLink

ScrollToViewMoreLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchAddressLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchAddressPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SearchAddressTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SearchCityLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchCitySection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchCityTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SearchCountryDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

SearchCountryLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchCountrySection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchErrorPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SearchPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SearchPostalCodeLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchPostalCodeSection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchPostalCodeTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SearchRadiusDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

SearchRadiusLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchRadiusPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SearchRegionDropDownList защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

SearchRegionLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SearchRegionSection защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

SearchSubmitButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SearchTitleLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SetupLabel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

SetupPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SetupView защищенное свойство

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
Результат global::System.Web.UI.WebControls.View

ShowAllLocationsButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SubmitLocationFromListButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SubmitLocationFromSearchButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

lbImportFile защищенное свойство

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
Результат global::System.Web.UI.WebControls.ImageButton

lbLocationTypes защищенное свойство

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
Результат global::System.Web.UI.WebControls.ImageButton

lbManageComments защищенное свойство

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
Результат global::System.Web.UI.WebControls.ImageButton

lbManageLocations защищенное свойство

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
Результат global::System.Web.UI.WebControls.ImageButton

lbSettings защищенное свойство

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
Результат global::System.Web.UI.WebControls.ImageButton