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

Наследование: ModuleBase
Показать файл Открыть проект

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

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

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

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

Метод Описание
DisplayDataType ( AttributeDefinition definition ) : string

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

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

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

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

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

DisplayDataType() публичный Метод

public DisplayDataType ( AttributeDefinition definition ) : string
definition AttributeDefinition
Результат string

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

protected btnCAAdd_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected btnCancelLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected btnCreateLocationType_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected btnDeleteLocationType_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected btnEditLocationType_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected btnUpdateLocationType_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected cmdCancel_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected cmdUpdate_Click ( object sender, System e ) : void
sender object
e System
Результат void

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

protected grdLocationTypeAttributes_ItemCheckedChanged ( object sender, DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs e ) : void
sender object
e DotNetNuke.UI.WebControls.DNNDataGridCheckChangedEventArgs
Результат void

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

protected grdLocationTypeAttributes_ItemCommand ( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e ) : void
source object
e System.Web.UI.WebControls.DataGridCommandEventArgs
Результат void

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

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

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

protected grdLocationTypeAttributes_ItemDataBound ( object sender, System.Web.UI.WebControls.DataGridItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.DataGridItemEventArgs
Результат void

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

protected lbLocType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

upDataImport control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel upDataImport
Результат global::System.Web.UI.UpdatePanel