C# Class SenseNet.Portal.UI.Controls.Binary

Inheritance: FieldControl, INamingContainer, ITemplateFieldControl
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Свойство Type Description
RenderInnerControls void
SetBinaryDataProperties void

Méthodes publiques

Méthode Description
Binary ( ) : System

Initializes a new instance of the Binary class.

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.

GetInnerControl ( ) : Control
GetLabelForDescription ( ) : Control
GetLabelForTitleControl ( ) : Control
GetUploadeControl ( ) : Control
SetData ( object data ) : void

Sets data within the FieldControl

Méthodes protégées

Méthode Description
GetControlId ( Control control, Node node ) : string

Gets the control id.

InitTemplates ( ) : void
OnInit ( EventArgs e ) : void

Raises the E:Init event.

OnPreRender ( EventArgs e ) : void
RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

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

Renders the editor.

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

Renders the HTML anchor.

Private Methods

Méthode Description
RenderInnerControls ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the inner controls.

SetBinaryDataProperties ( BinaryData data, System.Web.UI.WebControls.FileUpload fileUpload, ITextControl editor ) : void

Method Details

Binary() public méthode

Initializes a new instance of the Binary class.
public Binary ( ) : System
Résultat System

GetControlId() protected méthode

Gets the control id.
protected GetControlId ( Control control, Node node ) : string
control System.Web.UI.Control The control.
node Node The node.
Résultat string

GetData() public méthode

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 GetData ( ) : object
Résultat object

GetInnerControl() public méthode

public GetInnerControl ( ) : Control
Résultat System.Web.UI.Control

GetLabelForDescription() public méthode

public GetLabelForDescription ( ) : Control
Résultat System.Web.UI.Control

GetLabelForTitleControl() public méthode

public GetLabelForTitleControl ( ) : Control
Résultat System.Web.UI.Control

GetUploadeControl() public méthode

public GetUploadeControl ( ) : Control
Résultat System.Web.UI.Control

InitTemplates() protected méthode

protected InitTemplates ( ) : void
Résultat void

OnInit() protected méthode

Raises the E:Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Résultat void

OnPreRender() protected méthode

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Résultat void

RenderContents() protected méthode

Renders the contents of the control to the specified writer. This method is used primarily by control developers.
protected RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that represents the output stream to render HTML content on the client.
Résultat void

RenderEditor() protected méthode

Renders the editor.
protected RenderEditor ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Résultat void

RenderHtmlAnchor() protected méthode

Renders the HTML anchor.
protected RenderHtmlAnchor ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Résultat void

SetData() public méthode

Sets data within the FieldControl
public SetData ( object data ) : void
data object Data of the Field wrapped
Résultat void