C# 클래스 RockWeb.Blocks.Cms.ContentChannelView

상속: Rock.Web.UI.RockBlockCustomSettings
파일 보기 프로젝트 열기: SparkDevNetwork/Rock

공개 메소드들

메소드 설명
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