diff options
author | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-02 19:27:21 +0000 |
commit | 0daa38a4f5bb43d7332d681a98ccb693bc579230 (patch) | |
tree | 2b6435d1cdd4acddac1281aba120957ecc7cfe1a /demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page | |
parent | 3490b6226263b05d980d040a8fbf933c23979ab6 (diff) |
further documentation updates: everything else plus some things that were not even listed. Only T*RatingList has been left out
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/ActiveFileUpload.page | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ +<com:TContent ID="body" >
+
+<h1>TActiveFileUpload</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TActiveFileUpload" />
+
+<p class="block-content">
+<tt>TActiveFileUpload</tt> 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 <tt>HasFile</tt>
+indicates whether the file upload is successful. If successful, the file
+may be obtained by calling<tt>saveAs</tt> to save it at a specified place.
+You can use <tt>FileName</tt>, <tt>FileType</tt>,
+<tt>FileSize</tt> to get the original client-side file name,
+the file mime type, and the file size information. If the upload is not
+successful, <tt>ErrorCode</tt> contains the error code
+describing the cause of failure.
+</p>
+
+<p class="block-content">
+TActiveFileUpload raises <tt>OnFileUpload</tt> event if a file is uploaded
+(whether it succeeds or not).
+</p>
+
+<p class="block-content">
+TActiveFileUpload actually does a postback in a hidden IFrame, and then does a callback.
+This callback then raises the <tt>OnFileUpload</tt> 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.
+</p>
+
+<com:RunBar PagePath="ActiveControls.Samples.TActiveFileUpload.Home" />
+
+<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file |