• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnFilePicker

The FilePicker Class provides a File Picker Control for DotNetNuke.

Inheritance
System.Object
DnnFilePicker
Implements
ILocalizable
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnFilePicker : CompositeControl, ILocalizable

Properties

| Improve this Doc View Source

CommandCssClass

Gets or sets the class to be used for the Labels.

Declaration
public string CommandCssClass { get; set; }
Property Value
Type Description
System.String

A String.

Remarks

Defaults to 'CommandButton'.

| Improve this Doc View Source

FileFilter

Gets or sets the file Filter to use.

Declaration
public string FileFilter { get; set; }
Property Value
Type Description
System.String

a comma seperated list of file extenstions no wildcards or periods e.g. "jpg,png,gif".

Remarks

Defaults to ''.

| Improve this Doc View Source

FileID

Gets or sets the FileID for the control.

Declaration
public int FileID { get; set; }
Property Value
Type Description
System.Int32

An Integer.

| Improve this Doc View Source

FilePath

Gets or sets the FilePath for the control.

Declaration
public string FilePath { get; set; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

IsHost

Gets a value indicating whether gets whether the control is on a Host or Portal Tab.

Declaration
protected bool IsHost { get; }
Property Value
Type Description
System.Boolean

A Boolean.

| Improve this Doc View Source

LabelCssClass

Gets or sets the class to be used for the Labels.

Declaration
public string LabelCssClass { get; set; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

Localize

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public bool Localize { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LocalResourceFile

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MaxHeight

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public int MaxHeight { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxWidth

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public int MaxWidth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Mode

Gets or sets the current mode of the control.

Declaration
protected DnnFilePicker.FileControlMode Mode { get; set; }
Property Value
Type Description
DnnFilePicker.FileControlMode

A FileControlMode enum.

Remarks

Defaults to FileControlMode.Normal.

| Improve this Doc View Source

ParentFolder

Gets the root folder for the control.

Declaration
protected string ParentFolder { get; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

Permissions

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public string Permissions { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalId

Gets the file PortalId to use.

Declaration
protected int PortalId { get; }
Property Value
Type Description
System.Int32

An Integer.

Remarks

Defaults to PortalSettings.PortalId.

| Improve this Doc View Source

PortalSettings

Gets the current Portal Settings.

Declaration
protected PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings
| Improve this Doc View Source

Required

Gets or sets a value indicating whether gets or sets whether the combos have a "Not Specified" option.

Declaration
public bool Required { get; set; }
Property Value
Type Description
System.Boolean

A Boolean.

Remarks

Defaults to True (ie no "Not Specified").

| Improve this Doc View Source

ShowFolders

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public bool ShowFolders { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ShowUpLoad

Gets or sets a value indicating whether gets or sets whether to Show the Upload Button.

Declaration
public bool ShowUpLoad { get; set; }
Property Value
Type Description
System.Boolean

A Boolean.

Remarks

Defaults to True.

| Improve this Doc View Source

UsePersonalFolder

Gets or sets a value indicating whether gets or sets whether to Include Personal Folder.

Declaration
public bool UsePersonalFolder { get; set; }
Property Value
Type Description
System.Boolean

A Boolean.

Remarks

Defaults to false.

| Improve this Doc View Source

User

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public UserInfo User { get; set; }
Property Value
Type Description
UserInfo

Methods

| Improve this Doc View Source

CreateChildControls()

CreateChildControls overrides the Base class's method to correctly build the control based on the configuration.

Declaration
protected override void CreateChildControls()
| Improve this Doc View Source

LocalizeStrings()

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
public virtual void LocalizeStrings()
| Improve this Doc View Source

OnInit(EventArgs)

The FilePicker Class provides a File Picker Control for DotNetNuke.

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

OnPreRender(EventArgs)

OnPreRender runs just before the control is rendered.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e

Implements

ILocalizable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS