From 0a12bef112fe6a1569531e40b7cc063b0f52f44c Mon Sep 17 00:00:00 2001
From: xue <>
Date: Sat, 1 Apr 2006 17:31:28 +0000
Subject: Added THiddenField and THtmlArea demos.
---
.gitattributes | 2 +
HISTORY | 1 +
UPGRADE | 1 +
.../protected/pages/Controls/HiddenField.page | 5 ++-
.../protected/pages/Controls/HtmlArea.page | 43 ++++++++++++++++++++++
.../pages/Controls/Samples/THtmlArea/Home.page | 42 +++++++++++++++++++++
.../pages/Controls/Samples/THtmlArea/Home.php | 21 +++++++++++
.../pages/Controls/Samples/TImageMap/Home.page | 4 +-
.../protected/pages/Controls/Standard.page | 8 ++--
9 files changed, 119 insertions(+), 8 deletions(-)
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/THtmlArea/Home.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/THtmlArea/Home.php
diff --git a/.gitattributes b/.gitattributes
index fd24bc45..66ceb15b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -186,6 +186,8 @@ demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/TEmailAddressValidator/Home.page -text
demos/quickstart/protected/pages/Controls/Samples/TEmailAddressValidator/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/TExpression/Home.page -text
+demos/quickstart/protected/pages/Controls/Samples/THtmlArea/Home.page -text
+demos/quickstart/protected/pages/Controls/Samples/THtmlArea/Home.php -text
demos/quickstart/protected/pages/Controls/Samples/THyperLink/Home.page -text
demos/quickstart/protected/pages/Controls/Samples/THyperLink/hello_world.gif -text
demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html -text
diff --git a/HISTORY b/HISTORY
index f82161d4..cef310c4 100644
--- a/HISTORY
+++ b/HISTORY
@@ -12,6 +12,7 @@ BUG: THttpSession fails when user storage module is used (Qiang)
CHG: TTextHighlighter.EnableCopyCode defaults to false (Qiang)
CHG: Reorganized quickstart tutorial demo, added new sections (Qiang)
CHG: Reorganized folders under framework (Qiang)
+CHG: Modified THtmlArea default toolbar and size. (Qiang)
ENH: Ticket#92 - Support for user exception message file (Qiang)
ENH: Ticket#106 - Support for validation on THiddenField (Qiang)
ENH: TDataFieldAccessor can access public class variables (Qiang)
diff --git a/UPGRADE b/UPGRADE
index fc721275..755a475a 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -14,6 +14,7 @@ Upgrading from v3.0b
- Pagers in TDataGrid are now enclosed within panels. The event indicating
their creation is changed to OnPagerCreated instead of OnItemCreated.
- TTextHighlighter.EnableCopyCode defaults to false now.
+- THtmlArea default toolbar and size are modified.
- TTarFileExtrator is moved to System.IO
Cache classes are moved to System.Caching
TXmlDocument is moved to System.Xml
diff --git a/demos/quickstart/protected/pages/Controls/HiddenField.page b/demos/quickstart/protected/pages/Controls/HiddenField.page
index 8b04d928..c068d01b 100644
--- a/demos/quickstart/protected/pages/Controls/HiddenField.page
+++ b/demos/quickstart/protected/pages/Controls/HiddenField.page
@@ -4,7 +4,10 @@
-TBD +THiddenField represents a hidden field on a Web page. The value of the hidden field can be accessed via its Value property. +
++THiddenField raises an OnValueChanged event if its value is changed during postback.
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/HtmlArea.page b/demos/quickstart/protected/pages/Controls/HtmlArea.page index 992f417e..9f96f404 100644 --- a/demos/quickstart/protected/pages/Controls/HtmlArea.page +++ b/demos/quickstart/protected/pages/Controls/HtmlArea.page @@ -3,5 +3,48 @@+THtmlArea displays a WYSIWYG text input field on a Web page to collect input in HTML format. The text displayed in the THtmlArea control is specified or determined by using the Text property. To adjust the size of the input region, set Width and Height properties instead of Columns and Rows because the latter has no meaning under this situation. To disable the WYSIWYG feature, set EnableVisualEdit to false. +
+ ++THtmlArea provides the WYSIWYG feature by wrapping the functionalities provided by the TinyMCE project. +
+ ++The default editor gives only the basic tool bar. To change or add additional tool bars, use the Options property to add additional editor options with each options on a new line. See TinyMCE website for a complete list of options. The following example displays a toolbar specific for HTML table manipulation, +
++The client-side visual editting capability is supported by Internet Explorer 5.0+ for Windows and Gecko-based browser. If the browser does not support the visual editting, a traditional textarea will be displayed. +
+ +
+
+ Windows XP MacOS X 10.4
+----------------------------------------------------
+MSIE 6 OK
+MSIE 5.5 SP2 OK
+MSIE 5.0 OK
+Mozilla 1.7.x OK OK
+Firefox 1.0.x OK OK
+Firefox 1.5b2 OK OK
+Safari 2.0 (412) OK(1)
+Opera 9 Preview 1 OK(1) OK(1)
+----------------------------------------------------
+(1) - Partialy working
+----------------------------------------------------
+
+
+
++THtmlArea with default settings: + |
+ + |
+THtmlArea with customized size and table toolbar: + |
+ + |
+THtmlArea with visual editting disabled: + |
+ + + |