Version

ToolbarUploadButton Class

Represents a button that raises an upload dialog.
Syntax
'Declaration
 
Public Class ToolbarUploadButton 
   Inherits BaseToolbarButton
public class ToolbarUploadButton : BaseToolbarButton 
Remarks

The ToolbarUploadButton control represents a button that raises an upload dialog ( a dialog that is used to upload files to the server and browse files on the server).

The upload dialog that appears when the ToolbarUploadButton is clicked is represented by an HtmlBoxUpload, exposed by the ToolbarUploadButton.Upload property.

A ToolbarUploadButton can be created and used one of two ways:

  • Calling WebHtmlEditor.AddToolbarItem, passing in a ToolbarItemType associated with ToolbarUploadButton (such as ToolbarItemType.InsertImage) creates the ToolbarUploadButton, initializing it with default values for the "insert image" type, and adds it to the Toolbar in one step.
  • Create a new ToolbarUploadButton, passing in a ToolbarUploadButtonType (such as ToolbarUploadButtonType.InsertImage). This will create and initialize the ToolbarUploadButton with default values for the "insert image" type. Add the ToolbarUploadButton using the ToolbarItemCollection.Add method (WebHtmlEditor.Toolbar.Items.Add).
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also