From fb70372b1931f1591b1f9da7a5397e5be1892bb0 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 25 Jun 2011 09:24:02 +0000 Subject: added documentation for TFlushOutput --- .gitattributes | 1 + .../protected/pages/Controls/FlushOutput.page | 29 ++++++++++++++++++++++ .../protected/pages/Controls/Standard.page | 4 +++ 3 files changed, 34 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/FlushOutput.page diff --git a/.gitattributes b/.gitattributes index fea7181d..55e6ef02 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1533,6 +1533,7 @@ demos/quickstart/protected/pages/Controls/DataList.page -text demos/quickstart/protected/pages/Controls/DatePicker.page -text demos/quickstart/protected/pages/Controls/Expression.page -text demos/quickstart/protected/pages/Controls/FileUpload.page -text +demos/quickstart/protected/pages/Controls/FlushOutput.page -text demos/quickstart/protected/pages/Controls/Head.page -text demos/quickstart/protected/pages/Controls/HiddenField.page -text demos/quickstart/protected/pages/Controls/HtmlArea.page -text diff --git a/demos/quickstart/protected/pages/Controls/FlushOutput.page b/demos/quickstart/protected/pages/Controls/FlushOutput.page new file mode 100644 index 00000000..39b0b8be --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/FlushOutput.page @@ -0,0 +1,29 @@ + + +

TFlushOutput

+ + +

+TFlushOutput enables forced flushing of the current output buffer +at (a) certain point(s) in the page, after rendering of all previous +controls has been completed. +

+ +

+To use TFlushOutput, simply place it where you want in a template; +the output buffered between the start of the page (or a +previous TFlushOutput) and the TFlushOutput will be sent to the client immediately. +

+ + +<com:TFlushOutput /> + + +

+You can specify whether you want to keep buffering of the output +(if it was enabled) till the next occourence of a +or the end of the page rendering, or stop buffering, by using the +ContinueBuffering property. +

+ +
diff --git a/demos/quickstart/protected/pages/Controls/Standard.page b/demos/quickstart/protected/pages/Controls/Standard.page index 54d631e4..9c805188 100644 --- a/demos/quickstart/protected/pages/Controls/Standard.page +++ b/demos/quickstart/protected/pages/Controls/Standard.page @@ -47,6 +47,10 @@ TFileUpload represents a file upload field. It allows users to upload a file to server. +
  • + TFlushOutput enables forced flushing of the current output buffer at (a) certain point(s) in the page. +
  • +
  • THead represents the <head> element on an HTML Web page. It is required by a PRADO page should it use themes.
  • -- cgit v1.2.3