Version

IsPostbackFromUpload Property

Gets a value specifying if the current page request was due to a postback from an HtmlBoxUpload control.
Syntax
'Declaration
 
Public ReadOnly Property IsPostbackFromUpload As Boolean
public bool IsPostbackFromUpload {get;}

Property Value

True if the current request was a postback from an HtmlBoxUpload control, false otherwise.
Remarks

The WebHtmlEditor control may have one or many instances of a ToolbarUploadButton on the toolbar. This button launches an "upload" dialog which can be used to upload files to the server via a post request. Use this property to check if the postback to the page was due to an "upload" postback, instead of a standard postback (triggered by a button click, for example).

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