diff options
author | xue <> | 2006-01-21 17:29:40 +0000 |
---|---|---|
committer | xue <> | 2006-01-21 17:29:40 +0000 |
commit | 3fcf847e0cadfb9ede930f538c2f277483442175 (patch) | |
tree | 12534cf4b29c1d4676fd59ab47adb60e292bcb6c /demos/quickstart/protected/pages/Controls/Samples/TDropDownList | |
parent | 99b56c855a597c606d349c7063d843539e65a6ed (diff) |
BE AWARE: Significant change!
Changed event definition from XXX to OnXXX.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDropDownList')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page index 3554729b..5123cc94 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page @@ -32,7 +32,7 @@ Dropdown list with initial items: List box with customized row number, color and font:
</td>
<td class="sampleaction">
-<com:TDropDownList Rows="3" ForeColor="blue" Font.Size="14pt">
+<com:TDropDownList ForeColor="blue" Font.Size="14pt">
<com:TListItem Value="value 1" Text="item 1" />
<com:TListItem Value="value 2" Text="item 2" Selected="true" />
<com:TListItem Value="value 3" Text="item 3" />
@@ -60,7 +60,9 @@ Disabled dropdown list: Auto postback dropdown list:
</td>
<td class="sampleaction">
-<com:TDropDownList AutoPostBack="true" SelectedIndexChanged="selectionChanged">
+<com:TDropDownList
+ AutoPostBack="true"
+ OnSelectedIndexChanged="selectionChanged">
<com:TListItem Value="value 1" Text="item 1" />
<com:TListItem Value="value 2" Text="item 2" Selected="true" />
<com:TListItem Value="value 3" Text="item 3" />
@@ -81,7 +83,7 @@ Dropdown list's behavior upon postback: <com:TListItem Value="value 3" Text="item 3" />
<com:TListItem Value="value 4" Text="item 4" />
</com:TDropDownList>
-<com:TButton Text="Submit" Click="buttonClicked"/>
+<com:TButton Text="Submit" OnClick="buttonClicked"/>
<com:TLabel ID="SelectionResult2" ForeColor="red" />
</td>
</tr>
|