See Also

HtmlBox Class  | HtmlBox Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

IsPostbackFromUpload Property

Dart.PowerWEB.TextBox Namespace > HtmlBox Class : IsPostbackFromUpload Property

Gets a value specifying if the current page request was due to a postback from an HtmlBoxUpload control.

[Visual Basic]
<DescriptionAttribute("Gets a value which indicates if a server-side postback was caused by an file upload post.")> <BrowsableAttribute(False)> <DefaultValueAttribute()> Public ReadOnly Property IsPostbackFromUpload As Boolean
[C#]
[DescriptionAttribute("Gets a value which indicates if a server-side postback was caused by an file upload post.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public bool IsPostbackFromUpload {get;}
[C++]
[DescriptionAttribute("Gets a value which indicates if a server-side postback was caused by an file upload post.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public: __property bool get_IsPostbackFromUpload();
[C++/CLI]
[DescriptionAttribute("Gets a value which indicates if a server-side postback was caused by an file upload post.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public: property bool IsPostbackFromUpload {    bool get(); }

Return Type

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

Remarks

The HtmlBox 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

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

HtmlBox Class  | HtmlBox Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.