C# Класс SenseNet.Portal.UI.Controls.Binary

Наследование: FieldControl, INamingContainer, ITemplateFieldControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
RenderInnerControls void
SetBinaryDataProperties void

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

Метод Описание
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

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

Метод Описание
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.

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

Метод Описание
RenderInnerControls ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the inner controls.

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

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

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

Initializes a new instance of the Binary class.
public Binary ( ) : System
Результат System

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

Gets the control id.
protected GetControlId ( Control control, Node node ) : string
control System.Web.UI.Control The control.
node Node The node.
Результат string

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 GetData ( ) : object
Результат object

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

public GetInnerControl ( ) : Control
Результат System.Web.UI.Control

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

public GetLabelForDescription ( ) : Control
Результат System.Web.UI.Control

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

public GetLabelForTitleControl ( ) : Control
Результат System.Web.UI.Control

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

public GetUploadeControl ( ) : Control
Результат System.Web.UI.Control

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

protected InitTemplates ( ) : void
Результат void

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

Raises the E:Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
Результат void

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

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Результат void

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

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.
Результат void

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

Renders the editor.
protected RenderEditor ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

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

Renders the HTML anchor.
protected RenderHtmlAnchor ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
Результат void

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

Sets data within the FieldControl
public SetData ( object data ) : void
data object Data of the Field wrapped
Результат void