| Member | Description |
|---|---|
Constructor |
Constructor |
Delete |
Deletes the current attachment public virtual void Delete(); |
GetAttachments |
Uses the FileAttachmentsBusinessObject to retrieve a list of attachments public virtual DataTable GetAttachments(); |
GetBusinessObject |
This method instantiates a file attachment business object. public virtual FileAttachmentsBusinessObject GetBusinessObject(); |
LoadEntityById |
Returns an instance of the attachment as an entity public virtual FileAttachmentsBusinessEntity LoadEntityById( Guid attachmentId ); |
NewAttachment |
Adds a new attachment public virtual void NewAttachment(); |
Open |
Opens the current attachment public virtual void Open(); |
RefreshBoundAttachments |
Performs a refresh on the list of attachments displayed in the grid public void RefreshBoundAttachments(); |
SaveAs |
Saves the current attachment public virtual void SaveAs(); public virtual void SaveAs( string fileName ); |
ShowProperties |
Displays the current attachment properties public virtual void ShowProperties(); |
AddMode |
Defines what dialog should be used when adding attachments. |
AllowNonDefaultCategories |
Should the add-new dialog allow non-default categories, or should it be limited |
AllowNonDefaultSubCategories |
Should the add-new dialog allow non-default sub-categories, or should it be limited |
AttachedToObjectId |
Id of the object the grid is supposed to show attachments for. |
CanAddNew |
Can new attachments be added? |
CanDelete |
Can new attachments be deleted? |
CanOpen |
Can new attachments be edited? |
CanSaveAs |
Can new attachments be deleted? |
CurrentlySelectedAttachmentId |
Current attachment id |
DefaultCategories |
Defines the categories displayed in the new-attachment dialog. |
DefaultSubCategories |
Defines the sub-categories displayed in the new-attachment dialog. |
Filter |
Filter for file-open dialog |
FilterIndex |
Filter index for file-open dialog |
Grouping |
Grouping |
InitialDirectory |
Initial directory for file-open dialog |
RestoreDirectory |
RestoreDirectory flag for the file-open dialog |