Click or drag to resize

WorkflowFileUpload Methods

The WorkflowFileUpload type exposes the following members.

Methods
  NameDescription
Public methodAttachFile
Only if Extension is not forbidden AND Extension is allowed or all extensions are allowed AND File Size does not exceed Max Size
Public methodChangeToFormArchiveLayout
Remove post backs and replace the download link and image source with an absolute URL to WFGEN Note: DownloadLink must be true and EmbedImagePreview false for their respective updates.
Protected methodCreateChildControls
Creates the constituents controls
(Overrides ControlCreateChildControls.)
Protected methodLoadControlState
Control state loading
(Overrides ControlLoadControlState(Object).)
Protected methodOnDataBinding
Init of the stateBag and public properties before the Page Load
(Overrides ControlOnDataBinding(EventArgs).)
Protected methodOnInit
Initialization
(Overrides ControlOnInit(EventArgs).)
Protected methodOnLoad
Executed when control is loaded WorkflowFileUpload will first see if there is any new file in his storage directory If a file appeared WorkflowFileUpload will try to apply restriction rules (size limit and extensions) If the last created file is accepted then he'll delete others Else the control will see if another file was registered before the current load
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreRender
Executed before the rendering Styles apply
(Overrides ControlOnPreRender(EventArgs).)
Protected methodOnUnload
Saving in the FormData
(Overrides ControlOnUnload(EventArgs).)
Public methodRemoveFile
Remove the file that is currently attached to the control
Protected methodRender
Render
(Overrides WebControlRender(HtmlTextWriter).)
Protected methodSaveControlState
Control state saving Update Control State with FormData using context.xml
(Overrides ControlSaveControlState.)
Top
See Also