Class FileBrowserBuilder
Inheritance
System.Object
FileBrowserBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class FileBrowserBuilder
Constructors
FileBrowserBuilder(FileBrowser)
Specifies the file browser in RTE.
Declaration
public FileBrowserBuilder(FileBrowser imgBrowser)
Parameters
Type | Name | Description |
---|---|---|
FileBrowser | imgBrowser | imgBrowser |
Methods
AjaxAction(String)
Specifies to receive the server-side handler for file related operations.
Declaration
public FileBrowserBuilder AjaxAction(string ajaxAction)
Parameters
Type | Name | Description |
---|---|---|
System.String | ajaxAction | ajaxAction |
Returns
Type | Description |
---|---|
FileBrowserBuilder | This method returns string value |
AjaxSettings(Action<AjaxActionsBuilder>)
Specifies the ajaxSettings action.
Declaration
public FileBrowserBuilder AjaxSettings(Action<AjaxActionsBuilder> ajaxSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AjaxActionsBuilder> | ajaxSettings | ajaxSettings |
Returns
Type | Description |
---|---|
FileBrowserBuilder | This method returns file browser builder value |
ExtensionAllow(String)
Specifies the file type extension shown in the file browser window.
Declaration
public FileBrowserBuilder ExtensionAllow(string extensionAllow)
Parameters
Type | Name | Description |
---|---|---|
System.String | extensionAllow | extensionAllow |
Returns
Type | Description |
---|---|
FileBrowserBuilder | This method returns string value |
FilePath(String)
Specifies the directory to perform operations like create, delete and rename folder and files, and upload the selected files to the current directory.
Declaration
public FileBrowserBuilder FilePath(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | filePath |
Returns
Type | Description |
---|---|
FileBrowserBuilder | This method returns string value |
UploadAction(String)
Specifies the uplaod action.
Declaration
public FileBrowserBuilder UploadAction(string uploadAction)
Parameters
Type | Name | Description |
---|---|---|
System.String | uploadAction | uploadAction |
Returns
Type | Description |
---|---|
FileBrowserBuilder | This method returns string value |