Uploader Class |
Namespace: CMS.ExtendedControls
public class Uploader : Panel, INamingContainer, IUploaderControl, IInputControl
The Uploader type exposes the following members.
Name | Description | |
---|---|---|
btnAction |
Current file action button.
| |
btnDelete |
Current file delete button.
| |
inputFile |
Upload file field.
| |
lblLink |
Label link.
| |
lnkCurrentFile |
Current file link.
| |
pnlActions |
Actions panel.
| |
pnlCurrent |
Current file panel.
| |
pnlMain |
Main layout panel.
| |
pnlUpload |
Upload control panel.
|
Name | Description | |
---|---|---|
ActionButton |
Returns action button.
| |
ActionsPanel |
Gets actions panel.
| |
CurrentFileName |
Current file name to display.
| |
CurrentFileTarget |
Current file link target frame.
| |
CurrentFileUrl |
Current file Url to use for the file link.
| |
Enabled |
Enables or disables the control.
(Overrides WebControlEnabled.) | |
PostedFile |
Returns the currently posted file or null when no file posted.
| |
RequireDeleteConfirmation |
Indicates whether the confirmation is needed to remove file from uploader.
| |
ResizeToHeight |
New image height after it is uploaded.
| |
ResizeToMaxSideSize |
New image max side size after it is uploaded.
| |
ResizeToWidth |
New image width after it is uploaded.
| |
ShowActionButton |
If true, action button is displayed.
| |
ShowTooltip |
Indicates if tooltips should be shown.
| |
TooltipBody |
Tool tip body.
| |
TooltipWidth |
Tool tip width.
| |
UploadControl |
Returns inner upload control.
|
Name | Description | |
---|---|---|
Clear |
Clears the data.
| |
CreateChildControls |
Renders the control at run-time.
(Overrides ControlCreateChildControls.) | |
InitControls |
Initializes controls.
| |
OnLoad |
OnLoad event.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
Shadows the PreRender method.
(Overrides ControlOnPreRender(EventArgs).) | |
Page_Load |
Page load event handler, loads the data.
| |
RaiseDeleteFile |
Delete file event handler.
| |
Render |
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnActionClick |
OnActionClick event.
| |
OnDeleteFile |
Raises when the current file requests to be deleted.
| |
OnUploadFile |
Raises when a new file is given to be uploaded.
|