C# Class Engage.Dnn.Locator.AttributeDefinitions

Inheritance: ModuleBase
Mostra file Open project: EngageSoftware/Engage-Locator

Protected Properties

Property 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

Property 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

Public Methods

Method Description
DisplayDataType ( AttributeDefinition definition ) : string

Protected Methods

Method 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

Method 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 method

public DisplayDataType ( AttributeDefinition definition ) : string
definition AttributeDefinition
return string

btnCAAdd_Click() protected method

protected btnCAAdd_Click ( object sender, System e ) : void
sender object
e System
return void

btnCancelLocationType_Click() protected method

protected btnCancelLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnCreateLocationType_Click() protected method

protected btnCreateLocationType_Click ( object sender, System e ) : void
sender object
e System
return void

btnDeleteLocationType_Click() protected method

protected btnDeleteLocationType_Click ( object sender, System e ) : void
sender object
e System
return void

btnEditLocationType_Click() protected method

protected btnEditLocationType_Click ( object sender, System e ) : void
sender object
e System
return void

btnUpdateLocationType_Click() protected method

protected btnUpdateLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

cmdCancel_Click() protected method

protected cmdCancel_Click ( object sender, System e ) : void
sender object
e System
return void

cmdUpdate_Click() protected method

protected cmdUpdate_Click ( object sender, System e ) : void
sender object
e System
return void

grdLocationTypeAttributes_ItemCheckedChanged() protected method

protected grdLocationTypeAttributes_ItemCheckedChanged ( object sender, DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs e ) : void
sender object
e DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs
return void

grdLocationTypeAttributes_ItemCommand() protected method

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

grdLocationTypeAttributes_ItemCreated() protected method

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
return void

grdLocationTypeAttributes_ItemDataBound() protected method

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

lbLocType_SelectedIndexChanged() protected method

protected lbLocType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
return 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
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

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
return 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
return 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
return 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
return 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
return 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
return global::System.Web.UI.UpdatePanel