From f826b0ae6b8f11f8da1a5a6251e9a1fe6e6c1e85 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 2 Apr 2006 01:48:18 +0000 Subject: Added TFileUpload and TJavascriptLogger tutorials. --- .../protected/pages/Controls/FileUpload.page | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Controls/FileUpload.page') diff --git a/demos/quickstart/protected/pages/Controls/FileUpload.page b/demos/quickstart/protected/pages/Controls/FileUpload.page index 873d4bc7..8aa5a0fb 100644 --- a/demos/quickstart/protected/pages/Controls/FileUpload.page +++ b/demos/quickstart/protected/pages/Controls/FileUpload.page @@ -4,7 +4,24 @@

-TBD +TFileUpload displays a file upload field on a Web page. Upon postback, the text entered into the field will be treated as the (local) name of the file that is uploaded to the server.

+

+TFileUpload raises an OnFileUpload event when it is post back. The property HasFile indicates whether the file upload is successful or not. If successful, the uploaded file may be saved on the server by calling saveAs() method. +

+

+The following properties give the information about the uploaded file: +

+ +

+If the file upload is unsuccessful, the property ErrorCode gives the error code describing the cause of failure. See PHP documentation for a complete explanation of the possible error codes. +

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