C# 클래스 RockWeb.Blocks.Crm.PhotoUpload

상속: Rock.Web.UI.RockBlock
파일 보기 프로젝트 열기: NewPointe/Rockit

보호된 메소드들

메소드 설명
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

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.

imageEditor_FileSaved ( object sender, EventArgs e ) : void

Handles connecting the saved image file to the person Id specified in the CommandArgument control attribute.

rptPhotos_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles adjusting the image editor control for each person bound to the list.

비공개 메소드들

메소드 설명
AddOrUpdatePersonInPhotoRequestGroup ( Person person, RockContext rockContext ) : void

Add the person (if not already existing) to the Photo Request group and set status to Pending.

BindRepeater ( ) : void

Binds the person and their family (if the IncludeFamilyMembers block attribute is set to true) to the repeater which holds an image editor control for each person.

메소드 상세

Block_BlockUpdated() 보호된 메소드

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 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

imageEditor_FileSaved() 보호된 메소드

Handles connecting the saved image file to the person Id specified in the CommandArgument control attribute.
protected imageEditor_FileSaved ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

rptPhotos_ItemDataBound() 보호된 메소드

Handles adjusting the image editor control for each person bound to the list.
protected rptPhotos_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
리턴 void