C# 클래스 SenseNet.Portal.UI.Controls.FieldControl

상속: ViewControlBase, INamingContainer, IFieldControl
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
DescriptionControlID string
InnerControlID string
InputUnitPanelID string
RequiredControlID string
TitleControlID string
_container System.Web.UI.Control
_field SenseNet.ContentRepository.Field
_fieldName string

Private Properties

프로퍼티 타입 설명
AddGlobalTemplate void
AddLocalTemplate void
AddTemplateTo void
InstantiateErrorTemplate void

공개 메소드들

메소드 설명
ClearError ( ) : void

Clears the error message.

DoAutoConfigure ( FieldSetting setting ) : void
GetData ( ) : object

Gets object data.

Exception handling and displayed is done at ContentView level; FormatExceptions and Exceptions are handled and displayed at this level. Should you need custom or localized error messages, throw a FieldControlDataException with your own error message.

GetOutputData ( OutputMethod method ) : string
RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the beginning of the control

The opening tag of the wrapping container, Title and Description are rendered but not the control itself.

RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the end part of the control

Tags left open in RenderBeginTag are closed.

RenderFieldDescription ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the description of the FieldControl.

RenderFieldTitle ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the title of the FieldControl.

SetData ( object data ) : void

Sets data within the FieldControl

SetErrorMessage ( string message ) : void

Sets the error message

보호된 메소드들

메소드 설명
FieldControl ( ) : System
GetInputUnitPanel ( ) : System.Web.UI.HtmlControls.HtmlGenericControl
GetRequiredControl ( ) : Control
InitTemplates ( ) : void
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the control

RenderErrorMessage ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the error message

SetDataInternal ( ) : void
ShowErrorMessage ( ) : void

Shows the error message.

비공개 메소드들

메소드 설명
AddGlobalTemplate ( string fieldControlName ) : void
AddLocalTemplate ( Control target, System.Web.UI.ControlCollection owner, ITemplate source, bool addErrorTemplate ) : void
AddTemplateTo ( Control target, System.Web.UI.ControlCollection owner, ITemplate source, bool addErrorTemplate ) : void
InstantiateErrorTemplate ( ) : void

Instantiates the error template.

메소드 상세

ClearError() 공개 메소드

Clears the error message.
public ClearError ( ) : void
리턴 void

DoAutoConfigure() 공개 메소드

public DoAutoConfigure ( FieldSetting setting ) : void
setting FieldSetting
리턴 void

FieldControl() 보호된 메소드

protected FieldControl ( ) : System
리턴 System

GetData() 공개 추상적인 메소드

Gets object data.
Exception handling and displayed is done at ContentView level; FormatExceptions and Exceptions are handled and displayed at this level. Should you need custom or localized error messages, throw a FieldControlDataException with your own error message.
public abstract GetData ( ) : object
리턴 object

GetInputUnitPanel() 보호된 메소드

protected GetInputUnitPanel ( ) : System.Web.UI.HtmlControls.HtmlGenericControl
리턴 System.Web.UI.HtmlControls.HtmlGenericControl

GetOutputData() 공개 메소드

public GetOutputData ( OutputMethod method ) : string
method OutputMethod
리턴 string

GetRequiredControl() 보호된 메소드

protected GetRequiredControl ( ) : Control
리턴 System.Web.UI.Control

InitTemplates() 보호된 메소드

protected InitTemplates ( ) : void
리턴 void

OnInit() 보호된 메소드

protected OnInit ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

Render() 보호된 메소드

Renders the control
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

RenderBeginTag() 공개 메소드

Renders the beginning of the control
The opening tag of the wrapping container, Title and Description are rendered but not the control itself.
public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

RenderEndTag() 공개 메소드

Renders the end part of the control
Tags left open in RenderBeginTag are closed.
public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

RenderErrorMessage() 보호된 메소드

Renders the error message
protected RenderErrorMessage ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

RenderFieldDescription() 공개 메소드

Renders the description of the FieldControl.
public RenderFieldDescription ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

RenderFieldTitle() 공개 메소드

Renders the title of the FieldControl.
public RenderFieldTitle ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
리턴 void

SetData() 공개 추상적인 메소드

Sets data within the FieldControl
public abstract SetData ( object data ) : void
data object Data of the Field wrapped
리턴 void

SetDataInternal() 보호된 메소드

protected SetDataInternal ( ) : void
리턴 void

SetErrorMessage() 공개 메소드

Sets the error message
public SetErrorMessage ( string message ) : void
message string Error message to be set
리턴 void

ShowErrorMessage() 보호된 메소드

Shows the error message.
protected ShowErrorMessage ( ) : void
리턴 void

프로퍼티 상세

DescriptionControlID 보호되어 있는 프로퍼티

protected string DescriptionControlID
리턴 string

InnerControlID 보호되어 있는 프로퍼티

protected string InnerControlID
리턴 string

InputUnitPanelID 보호되어 있는 프로퍼티

protected string InputUnitPanelID
리턴 string

RequiredControlID 보호되어 있는 프로퍼티

protected string RequiredControlID
리턴 string

TitleControlID 보호되어 있는 프로퍼티

protected string TitleControlID
리턴 string

_container 보호되어 있는 프로퍼티

protected Control,System.Web.UI _container
리턴 System.Web.UI.Control

_field 보호되어 있는 프로퍼티

The Field wrapped by the FieldControl
protected Field,SenseNet.ContentRepository _field
리턴 SenseNet.ContentRepository.Field

_fieldName 보호되어 있는 프로퍼티

Name of the field that the FieldControl maps to
protected string _fieldName
리턴 string