diff options
author | ctrlaltca@gmail.com <> | 2011-06-25 09:24:02 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-25 09:24:02 +0000 |
commit | fb70372b1931f1591b1f9da7a5397e5be1892bb0 (patch) | |
tree | e1601e60c88cec5ef20dc0e964e811509f795f25 /demos/quickstart | |
parent | cda44920115f2aadd7c3fbe2df13cb48a2cbc0c5 (diff) |
added documentation for TFlushOutput
Diffstat (limited to 'demos/quickstart')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/FlushOutput.page | 29 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Standard.page | 4 |
2 files changed, 33 insertions, 0 deletions
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 @@ +<com:TContent ID="body" >
+
+<h1>TFlushOutput</h1>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TFlushOutput" />
+
+<p class="block-content">
+<tt>TFlushOutput</tt> 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.
+</p>
+
+<p class="block-content">
+To use <tt>TFlushOutput</tt>, simply place it where you want in a template;
+the output buffered between the start of the page (or a
+previous <tt>TFlushOutput</tt>) and the <tt>TFlushOutput</tt> will be sent to the client immediately.
+</p>
+
+<com:TTextHighlighter Language="prado" CssClass="source block-content">
+<com:TFlushOutput />
+</com:TTextHighlighter>
+
+<p class="block-content">
+You can specify whether you want to keep buffering of the output
+(if it was enabled) till the next occourence of a <tt><com: TFlushOutput /></tt>
+or the end of the page rendering, or stop buffering, by using the
+<tt>ContinueBuffering</tt> property.
+</p>
+
+</com:TContent>
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 @@ -48,6 +48,10 @@ </li>
<li>
+ <a href="?page=Controls.FlushOutput">TFlushOutput</a> enables forced flushing of the current output buffer at (a) certain point(s) in the page.
+ </li>
+
+ <li>
<a href="?page=Controls.Head">THead</a> represents the <head> element on an HTML Web page. It is required by a PRADO page should it use themes.
</li>
|