diff options
author | xue <> | 2006-04-02 01:48:18 +0000 |
---|---|---|
committer | xue <> | 2006-04-02 01:48:18 +0000 |
commit | f826b0ae6b8f11f8da1a5a6251e9a1fe6e6c1e85 (patch) | |
tree | 74d1aa11100d867bebcc94d1d871d896df055087 /demos/quickstart/protected/pages/Controls/JavascriptLogger.page | |
parent | 3f003a625159217eddedeaa02c999f76f351525e (diff) |
Added TFileUpload and TJavascriptLogger tutorials.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/JavascriptLogger.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/JavascriptLogger.page | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/JavascriptLogger.page b/demos/quickstart/protected/pages/Controls/JavascriptLogger.page index 8b3c63c8..cff2b7aa 100644 --- a/demos/quickstart/protected/pages/Controls/JavascriptLogger.page +++ b/demos/quickstart/protected/pages/Controls/JavascriptLogger.page @@ -3,4 +3,29 @@ <h1>TJavascriptLogger</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TJavascriptLogger" />
+<p>
+<tt>TJavascriptLogger</tt> provides logging for client-side javascript. It is mainly a wrapper of the javascript developed at <a href="http://gleepglop.com/javascripts/logger/">http://gleepglop.com/javascripts/logger/</a>.
+</p>
+
+<p>
+To use <tt>TJavascriptLogger</tt>, simply place the following component tag in a page template.
+</p>
+<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TJavascriptLogger />
+</com:TTextHighlighter>
+
+<p>
+Then, the client-side javascript may contain the following statements. When they are executed, they will appear in the logger window.
+</p>
+<com:TTextHighlighter Language="js" CssClass="source">
+Logger.info('something happend');
+Logger.warn('A warning');
+Logger.error('This is an error');
+Logger.debug('debug information');
+</com:TTextHighlighter>
+
+<p>
+To toggle the visibility of the logger and console on the browser window, press ALT-D (or CTRL-D on OS X).
+</p>
+
</com:TContent>
\ No newline at end of file |