C# Class Engage.Dnn.Locator.AttributeDefinitions

Inheritance: ModuleBase
Afficher le fichier Open project: EngageSoftware/Engage-Locator

Protected Properties

Свойство Type Description
btnCAAdd global::System.Web.UI.WebControls.ImageButton
btnCancelLocationType global::System.Web.UI.WebControls.ImageButton
btnCreateLocationType global::System.Web.UI.WebControls.ImageButton
btnDeleteLocationType global::System.Web.UI.WebControls.ImageButton
btnEditLocationType global::System.Web.UI.WebControls.ImageButton
btnUpdateLocationType global::System.Web.UI.WebControls.ImageButton
cmdCancel global::System.Web.UI.WebControls.ImageButton
cmdUpdate global::System.Web.UI.WebControls.ImageButton
divCustomAttributes global::System.Web.UI.HtmlControls.HtmlGenericControl
dvLocationType global::System.Web.UI.HtmlControls.HtmlGenericControl
dvLocationTypeEdit global::System.Web.UI.HtmlControls.HtmlGenericControl
grdLocationTypeAttributes global::System.Web.UI.WebControls.DataGrid
hdSelect global::System.Web.UI.HtmlControls.HtmlGenericControl
lbImportFile global::System.Web.UI.WebControls.ImageButton
lbLocType global::System.Web.UI.WebControls.ListBox
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
lblLocationTypeHelp global::System.Web.UI.WebControls.Label
lgCustomAttributes global::System.Web.UI.HtmlControls.HtmlGenericControl
lgTypes global::System.Web.UI.HtmlControls.HtmlGenericControl
rfvName global::System.Web.UI.WebControls.RequiredFieldValidator
txtEditLocationType global::System.Web.UI.WebControls.TextBox
upDataImport global::System.Web.UI.UpdatePanel

Private Properties

Свойство Type Description
BindData void
BindGrid void
BindTypes void
DeleteAttribute void
GetAttributes AttributeDefinitionCollection
MoveAttribute void
MoveAttributeDown void
MoveAttributeUp void
Page_Init void
Page_Load void
ProcessPostBack void
SetButtons void
SupportsRichClient bool
UpdateAttributes void

Méthodes publiques

Méthode Description
DisplayDataType ( AttributeDefinition definition ) : string

Méthodes protégées

Méthode Description
btnCAAdd_Click ( object sender, System e ) : void
btnCancelLocationType_Click ( object sender, EventArgs e ) : void
btnCreateLocationType_Click ( object sender, System e ) : void
btnDeleteLocationType_Click ( object sender, System e ) : void
btnEditLocationType_Click ( object sender, System e ) : void
btnUpdateLocationType_Click ( object sender, EventArgs e ) : void
cmdCancel_Click ( object sender, System e ) : void
cmdUpdate_Click ( object sender, System e ) : void
grdLocationTypeAttributes_ItemCheckedChanged ( object sender, DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs e ) : void
grdLocationTypeAttributes_ItemCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
grdLocationTypeAttributes_ItemCreated ( object sender, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void

When it is determined that the client supports a rich interactivity the grdLocationTypeAttributes_ItemCreated event is responsible for disabling all the unneeded AutoPostBacks, along with assiging the appropriate client-side script for each event handler

grdLocationTypeAttributes_ItemDataBound ( object sender, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void
lbLocType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
BindData ( ) : void
BindGrid ( ) : void
BindTypes ( ) : void
DeleteAttribute ( int attributeDefinitionId ) : void
GetAttributes ( ) : AttributeDefinitionCollection
MoveAttribute ( int index, int destIndex ) : void
MoveAttributeDown ( int index ) : void
MoveAttributeUp ( int index ) : void
Page_Init ( object sender, System e ) : void

Page_Init runs when the control is initialised

Page_Load ( object sender, System e ) : void

Page_Load runs when the control is loaded

ProcessPostBack ( ) : void

This method is responsible for taking in posted information from the grid and persisting it to the property definition collection

SetButtons ( ) : void
SupportsRichClient ( ) : bool
UpdateAttributes ( ) : void

Method Details

DisplayDataType() public méthode

public DisplayDataType ( AttributeDefinition definition ) : string
definition AttributeDefinition
Résultat string

btnCAAdd_Click() protected méthode

protected btnCAAdd_Click ( object sender, System e ) : void
sender object
e System
Résultat void

btnCancelLocationType_Click() protected méthode

protected btnCancelLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnCreateLocationType_Click() protected méthode

protected btnCreateLocationType_Click ( object sender, System e ) : void
sender object
e System
Résultat void

btnDeleteLocationType_Click() protected méthode

protected btnDeleteLocationType_Click ( object sender, System e ) : void
sender object
e System
Résultat void

btnEditLocationType_Click() protected méthode

protected btnEditLocationType_Click ( object sender, System e ) : void
sender object
e System
Résultat void

btnUpdateLocationType_Click() protected méthode

protected btnUpdateLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

cmdCancel_Click() protected méthode

protected cmdCancel_Click ( object sender, System e ) : void
sender object
e System
Résultat void

cmdUpdate_Click() protected méthode

protected cmdUpdate_Click ( object sender, System e ) : void
sender object
e System
Résultat void

grdLocationTypeAttributes_ItemCheckedChanged() protected méthode

protected grdLocationTypeAttributes_ItemCheckedChanged ( object sender, DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs e ) : void
sender object
e DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs
Résultat void

grdLocationTypeAttributes_ItemCommand() protected méthode

protected grdLocationTypeAttributes_ItemCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
source object
e System.Web.UI.WebControls.DataGridCommandEventArgs
Résultat void

grdLocationTypeAttributes_ItemCreated() protected méthode

When it is determined that the client supports a rich interactivity the grdLocationTypeAttributes_ItemCreated event is responsible for disabling all the unneeded AutoPostBacks, along with assiging the appropriate client-side script for each event handler
protected grdLocationTypeAttributes_ItemCreated ( object sender, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.DataGridItemEventArgs
Résultat void

grdLocationTypeAttributes_ItemDataBound() protected méthode

protected grdLocationTypeAttributes_ItemDataBound ( object sender, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.DataGridItemEventArgs
Résultat void

lbLocType_SelectedIndexChanged() protected méthode

protected lbLocType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

btnCAAdd protected_oe property

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

btnCancelLocationType protected_oe property

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

btnCreateLocationType protected_oe property

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

btnDeleteLocationType protected_oe property

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

btnEditLocationType protected_oe property

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

btnUpdateLocationType protected_oe property

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

cmdCancel protected_oe property

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

cmdUpdate protected_oe property

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

divCustomAttributes protected_oe property

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

dvLocationType protected_oe property

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

dvLocationTypeEdit protected_oe property

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

grdLocationTypeAttributes protected_oe property

grdLocationTypeAttributes control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DataGrid grdLocationTypeAttributes
Résultat global::System.Web.UI.WebControls.DataGrid

hdSelect protected_oe property

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

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
Résultat global::System.Web.UI.WebControls.ImageButton

lbLocType protected_oe property

lbLocType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ListBox lbLocType
Résultat global::System.Web.UI.WebControls.ListBox

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
Résultat 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
Résultat 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
Résultat 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
Résultat global::System.Web.UI.WebControls.ImageButton

lblLocationTypeHelp protected_oe property

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

lgCustomAttributes protected_oe property

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

lgTypes protected_oe property

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

rfvName protected_oe property

rfvName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvName
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

txtEditLocationType protected_oe property

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

upDataImport protected_oe property

upDataImport control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel upDataImport
Résultat global::System.Web.UI.UpdatePanel