Table of Contents

Class UploadDetail

Namespace
InSite.UI.Admin.Assets.Files.Controls
Assembly
InSite.UI.dll
public class UploadDetail : BaseUserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
Inheritance
UploadDetail
Implements
Inherited Members

Constructors

UploadDetail()

public UploadDetail()

Fields

AllowLearnerToViewNo

AllowLearnerToViewNo control.

protected RadioButton AllowLearnerToViewNo

Field Value

RadioButton

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

AllowLearnerToViewYes

AllowLearnerToViewYes control.

protected RadioButton AllowLearnerToViewYes

Field Value

RadioButton

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

DocumentName

DocumentName control.

protected TextBox DocumentName

Field Value

TextBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

DocumentTypePanel

DocumentTypePanel control.

protected UpdatePanel DocumentTypePanel

Field Value

UpdatePanel

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

File

File control.

protected FileUploadV2 File

Field Value

FileUploadV2

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileAlternated

FileAlternated control.

protected DateSelector FileAlternated

Field Value

DateSelector

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileCategory

FileCategory control.

protected ItemNameComboBox FileCategory

Field Value

ItemNameComboBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileDescription

FileDescription control.

protected TextBox FileDescription

Field Value

TextBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileExpiry

FileExpiry control.

protected DateSelector FileExpiry

Field Value

DateSelector

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileLink control.

protected HtmlAnchor FileLink

Field Value

HtmlAnchor

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileName

FileName control.

protected Literal FileName

Field Value

Literal

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileReceived

FileReceived control.

protected DateSelector FileReceived

Field Value

DateSelector

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileSize

FileSize control.

protected Literal FileSize

Field Value

Literal

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileStatus

FileStatus control.

protected ItemNameComboBox FileStatus

Field Value

ItemNameComboBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

FileSubcategory

FileSubcategory control.

protected DocumentSubTypeComboBox FileSubcategory

Field Value

DocumentSubTypeComboBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

IsApproved

IsApproved control.

protected CheckBox IsApproved

Field Value

CheckBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

IsReviewed

IsReviewed control.

protected CheckBox IsReviewed

Field Value

CheckBox

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

IssueDocumentNameValidator

IssueDocumentNameValidator control.

protected CustomValidator IssueDocumentNameValidator

Field Value

CustomValidator

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

LinkField

LinkField control.

protected HtmlGenericControl LinkField

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

PermissionList

PermissionList control.

protected FilePermissionList PermissionList

Field Value

FilePermissionList

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

UploadField

UploadField control.

protected HtmlGenericControl UploadField

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Methods

BindDefaultsToControls(FileObjectType, Guid)

public (bool IsValid, string Title) BindDefaultsToControls(FileObjectType objectType, Guid objectIdentifier)

Parameters

objectType FileObjectType
objectIdentifier Guid

Returns

(bool IsValid, string Title)

BindModelToControls(FileStorageModel)

public (bool IsValid, string Title) BindModelToControls(FileStorageModel model)

Parameters

model FileStorageModel

Returns

(bool IsValid, string Title)

CreateFile(Guid, FileObjectType)

public FileStorageModel CreateFile(Guid objectIdentifier, FileObjectType objectType)

Parameters

objectIdentifier Guid
objectType FileObjectType

Returns

FileStorageModel

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

UpdateFile(Guid)

public void UpdateFile(Guid fileIdentifier)

Parameters

fileIdentifier Guid

Events

UploadError

public event StringValueHandler UploadError

Event Type

StringValueHandler