C# Класс RockWeb.Blocks.Cms.ContentChannelView

Наследование: Rock.Web.UI.RockBlockCustomSettings
Показать файл Открыть проект

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

Метод Описание
ShowEdit ( ) : void

Shows the edit.

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

Метод Описание
LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

ShowSettings ( ) : void

Shows the settings.

ddlChannel_SelectedIndexChanged ( object sender, EventArgs e ) : void
filterControl_DeleteClick ( object sender, EventArgs e ) : void

Handles the DeleteClick event of the filterControl control.

groupControl_AddFilterClick ( object sender, EventArgs e ) : void

Handles the AddFilterClick event of the groupControl control.

groupControl_AddGroupClick ( object sender, EventArgs e ) : void

Handles the AddGroupClick event of the groupControl control.

groupControl_DeleteGroupClick ( object sender, EventArgs e ) : void

Handles the DeleteGroupClick event of the groupControl control.

lbSave_Click ( object sender, EventArgs e ) : void

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

Метод Описание
ContentDynamic_BlockUpdated ( object sender, EventArgs e ) : void
CreateFilterControl ( ContentChannel channel, DataViewFilter filter, bool setSelection, RockContext rockContext ) : void

Creates the filter control.

CreateFilterControl ( Control parentControl, DataViewFilter filter, bool setSelection, RockContext rockContext ) : void

Creates the filter control.

DeleteDataViewFilter ( DataViewFilter dataViewFilter, DataViewFilterService service ) : void
GetContent ( List errorMessages ) : List
GetFilterControl ( ) : DataViewFilter
GetFilterControl ( Control control ) : DataViewFilter
GetFilterFieldControl ( FilterField filterField ) : DataViewFilter
GetFilterGroupControl ( FilterGroup filterGroup ) : DataViewFilter
GetMetaValueFromAttribute ( string input, List content ) : string
GetTemplate ( ) : Template
HackEntityFields ( ContentChannel channel, RockContext rockContext ) : List

The PropertyFilter checks for it's property/attribute list in a cached items object before recreating them using reflection and loading of generic attributes. Because of this, we're going to load them here and exclude some properties and add additional attributes specific to the channel type, and then save list to same cached object so that property filter lists our collection of properties/attributes instead.

SetListValue ( ListControl listControl, string value ) : void

Sets the list value.

SetNewDataFilterGuids ( DataViewFilter dataViewFilter ) : void
ShowView ( ) : void

Binds the grid.

btnTrigger_Click ( object sender, EventArgs e ) : void

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

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

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
Результат void

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

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

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

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

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

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

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

Shows the edit.
public ShowEdit ( ) : void
Результат void

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

Shows the settings.
protected ShowSettings ( ) : void
Результат void

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

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

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

Handles the DeleteClick event of the filterControl control.
protected filterControl_DeleteClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the AddFilterClick event of the groupControl control.
protected groupControl_AddFilterClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the AddGroupClick event of the groupControl control.
protected groupControl_AddGroupClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the DeleteGroupClick event of the groupControl control.
protected groupControl_DeleteGroupClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

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