summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page26
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php5
2 files changed, 31 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page
index c14b88c6..218139a5 100644
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page
@@ -105,4 +105,30 @@ Listbox causing validation:
</table>
+<h2>List Boxes in Multiple Selection Mode</h2>
+<i>Use Ctrl + Mouse Click to change selection</i>
+<br/>
+
+<table class="sampletable">
+
+<tr>
+<td class="samplenote">
+Multiple items can be selected together:
+ </td>
+ <td class="sampleaction">
+ <com:TActiveListBox
+ ID="MDropdownList"
+ SelectionMode="Multiple"
+ OnSelectedIndexChanged="multiSelectionChanged"
+ >
+ <com:TListItem Value="value 1" Text="item 1" />
+ <com:TListItem Value="value 2" Text="item 2" />
+ <com:TListItem Value="value 3" Text="item 3" />
+ <com:TListItem Value="value 4" Text="item 4" />
+</com:TActiveListBox>
+<com:TActiveLabel ID="MSelectionResult" ForeColor="red" />
+ </td>
+</tr>
+
+</table>
</com:TContent>
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php
index 5ec96613..795e3eca 100644
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php
@@ -31,6 +31,11 @@ class Home extends TPage
$this->collectSelectionResult($sender,$this->SelectionResult);
}
+ public function multiSelectionChanged($sender,$param)
+ {
+ $this->collectSelectionResult($sender,$this->MSelectionResult);
+ }
+
public function buttonClicked($sender, $param)
{
$data=array();