From 0daa38a4f5bb43d7332d681a98ccb693bc579230 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 2 Jun 2011 19:27:21 +0000 Subject: further documentation updates: everything else plus some things that were not even listed. Only T*RatingList has been left out --- .../pages/ActiveControls/ActiveFileUpload.page | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page (limited to 'demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page new file mode 100644 index 00000000..8bdb7cfe --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page @@ -0,0 +1,33 @@ + + +

TActiveFileUpload

+ + +

+TActiveFileUpload displays a file upload field on a page. Upon postback, +the text entered into the field will be treated as the name of the file +that will be uploaded to the server. The property HasFile +indicates whether the file upload is successful. If successful, the file +may be obtained by callingsaveAs to save it at a specified place. +You can use FileName, FileType, +FileSize to get the original client-side file name, +the file mime type, and the file size information. If the upload is not +successful, ErrorCode contains the error code +describing the cause of failure. +

+ +

+TActiveFileUpload raises OnFileUpload event if a file is uploaded +(whether it succeeds or not). +

+ +

+TActiveFileUpload actually does a postback in a hidden IFrame, and then does a callback. +This callback then raises the OnFileUpload event. After the postback +a status icon is displayed; either a green checkmark if the upload is successful, +or a red x if there was an error. +

+ + + +
$Id$
\ No newline at end of file -- cgit v1.2.3