From ffc9318788952a879815cfa01a8b17b7ddae89b1 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 2 Jun 2011 11:16:04 +0000 Subject: added documentation and examples for TActiveCheckBoxList, TActiveDropDownList, TActiveListBox, TActiveRadioButtonList classes --- .gitattributes | 12 +++ buildscripts/texbuilder/quickstart/pages.php | 4 + .../pages/ActiveControls/ActiveCheckBoxList.page | 32 ++++++ .../pages/ActiveControls/ActiveDropDownList.page | 32 ++++++ .../pages/ActiveControls/ActiveListBox.page | 28 ++++++ .../ActiveControls/ActiveRadioButtonList.page | 32 ++++++ .../protected/pages/ActiveControls/Home.page | 8 +- .../Samples/TActiveCheckBoxList/Home.page | 66 +++++++++++++ .../Samples/TActiveCheckBoxList/Home.php | 26 +++++ .../Samples/TActiveDropDownList/Home.page | 108 +++++++++++++++++++++ .../Samples/TActiveDropDownList/Home.php | 60 ++++++++++++ .../Samples/TActiveListBox/Home.page | 108 +++++++++++++++++++++ .../ActiveControls/Samples/TActiveListBox/Home.php | 60 ++++++++++++ .../Samples/TActiveRadioButtonList/Home.page | 66 +++++++++++++ .../Samples/TActiveRadioButtonList/Home.php | 26 +++++ 15 files changed, 664 insertions(+), 4 deletions(-) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.php create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.php create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.php diff --git a/.gitattributes b/.gitattributes index 793e040e..6303ca7e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1273,18 +1273,22 @@ demos/quickstart/protected/index/quickstart/deletable -text demos/quickstart/protected/index/quickstart/segments -text demos/quickstart/protected/pages/ActiveControls/ActiveButton.page -text demos/quickstart/protected/pages/ActiveControls/ActiveCheckBox.page -text +demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page -text demos/quickstart/protected/pages/ActiveControls/ActiveCustomValidator.page -text demos/quickstart/protected/pages/ActiveControls/ActiveDataGrid.page -text demos/quickstart/protected/pages/ActiveControls/ActiveDataList.page -text +demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page -text demos/quickstart/protected/pages/ActiveControls/ActiveHyperLink.page -text demos/quickstart/protected/pages/ActiveControls/ActiveImage.page -text demos/quickstart/protected/pages/ActiveControls/ActiveImageButton.page -text demos/quickstart/protected/pages/ActiveControls/ActiveLabel.page -text demos/quickstart/protected/pages/ActiveControls/ActiveLinkButton.page -text +demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page -text demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page -text demos/quickstart/protected/pages/ActiveControls/ActivePager.page -text demos/quickstart/protected/pages/ActiveControls/ActivePanel.page -text demos/quickstart/protected/pages/ActiveControls/ActiveRadioButton.page -text +demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page -text demos/quickstart/protected/pages/ActiveControls/ActiveRepeater.page -text demos/quickstart/protected/pages/ActiveControls/ActiveTextBox.page -text demos/quickstart/protected/pages/ActiveControls/AutoComplete.page -text @@ -1299,6 +1303,8 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.page demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.page -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBoxList/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCustomValidator/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample1.page -text @@ -1313,6 +1319,8 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5. demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataGrid/Sample5.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDataList/Home.php -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.page -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveDropDownList/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveHyperLink/hello_world.gif -text @@ -1328,6 +1336,8 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.page - demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLabel/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveLinkButton/Home.php -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActivePager/Home.page -text @@ -1335,6 +1345,8 @@ demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.page - demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButton/Home.php -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.page -text +demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRadioButtonList/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.page -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Home.php -text demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.page -text diff --git a/buildscripts/texbuilder/quickstart/pages.php b/buildscripts/texbuilder/quickstart/pages.php index 55ad18e8..2fe2438f 100644 --- a/buildscripts/texbuilder/quickstart/pages.php +++ b/buildscripts/texbuilder/quickstart/pages.php @@ -106,18 +106,22 @@ $pages['Control Reference : Data Controls'] = array( $pages['Control Reference : Active Controls (AJAX)'] = array( 'ActiveControls/ActiveButton.page', 'ActiveControls/ActiveCheckBox.page', + 'ActiveControls/ActiveCheckBoxList.page', 'ActiveControls/ActiveCustomValidator.page', 'ActiveControls/ActiveDataList.page', 'ActiveControls/ActiveDataGrid.page', + 'ActiveControls/ActiveDropDownList.page', 'ActiveControls/ActiveHyperLink.page', 'ActiveControls/ActiveImage.page', 'ActiveControls/ActiveImageButton.page', 'ActiveControls/ActiveLabel.page', 'ActiveControls/ActiveLinkButton.page', + 'ActiveControls/ActiveListBox.page', 'ActiveControls/ActiveMultiView.page', 'ActiveControls/ActivePager.page', 'ActiveControls/ActivePanel.page', 'ActiveControls/ActiveRadioButton.page', + 'ActiveControls/ActiveRadioButtonList.page', 'ActiveControls/ActiveRepeater.page', 'ActiveControls/ActiveTextBox.page', 'ActiveControls/AutoComplete.page', diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page new file mode 100644 index 00000000..2560ece5 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveCheckBoxList.page @@ -0,0 +1,32 @@ + + +

TActiveCheckBoxList

+ + +

+TActiveCheckBoxList is the active counterpart to the original TCheckBoxList control. +

+ +

+The AutoPostBack property is set to true by default. +Thus, when a checkbox is clicked a OnCallback event is +raised after OnSelectedIndexChanged event. +

+ +

+With ActiveControl.EnabledUpdate +set to true (default is true), changes to the selection will be updated +on the client side. +

+ +

+List items can not be changed dynamically during a callback request. +

+ +

+Please refer to the original documentation of TCheckBoxList for usage. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page new file mode 100644 index 00000000..4400c552 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveDropDownList.page @@ -0,0 +1,32 @@ + + +

TActiveDropDownList

+ + +

+TActiveDropDownList is the active counterpart to the original TDropDownList control. +

+ +

+The AutoPostBack property is set to true by default. +Thus, when the drop down list selection is changed the OnCallback event is +raised after OnSelectedIndexChanged event. +

+ +

+With ActiveControl.EnabledUpdate +set to true (default is true), changes to the selection, after OnLoad event has +been raised, will be updated on the client side. +

+ +

+List items can be changed dynamically during a callback request. +

+ +

+Please refer to the original documentation of TDropDownList for usage. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page new file mode 100644 index 00000000..802c9fb1 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveListBox.page @@ -0,0 +1,28 @@ + + +

TActiveListBox

+ + +

+TActiveListBox is the active counterpart to the original TListBox control. +

+ +

+The AutoPostBack property is set to true by default. +Thus, when a list item is clicked a OnCallback event is +raised after OnSelectedIndexChanged event. +

+ +

+With ActiveControl.EnabledUpdate +set to true (default is true), changes to the selection will be updated +on the client side. +

+ +

+Please refer to the original documentation of TListBox for usage. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page new file mode 100644 index 00000000..6095a9d3 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveRadioButtonList.page @@ -0,0 +1,32 @@ + + +

TActiveRadioButtonList

+ + +

+TActiveRadioButtonList is the active counterpart to the original TRadioButtonList control. +

+ +

+The AutoPostBack property is set to true by default. +Thus, when a radio button is clicked a OnCallback event is +raised after OnSelectedIndexChanged event. +

+ +

+With ActiveControl.EnabledUpdate +set to true (default is true), changes to the selection will be updated +on the client side. +

+ +

+List items can not be changed dynamically during a callback request. +

+ +

+Please refer to the original documentation of TRadioButtonList for usage. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 798bc267..a658aa16 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -107,26 +107,26 @@ TActiveButton control. See also the later part of the Active List Controls