summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page4
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page6
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page8
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page4
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page16
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page4
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page6
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page6
9 files changed, 32 insertions, 24 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page
index c85ff574..77cc9f7c 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TBulletedList/Home.page
@@ -67,7 +67,7 @@ Bulleted list of hyperlinks:
Bulleted list of link buttons (click on them to see the result):
</td>
<td class="sampleaction">
-<com:TBulletedList DisplayMode="LinkButton" Click="buttonClicked">
+<com:TBulletedList DisplayMode="LinkButton" OnClick="buttonClicked">
<com:TListItem Value="http://www.google.com/" Text="google" />
<com:TListItem Value="http://www.yahoo.com/" Text="yahoo" />
<com:TListItem Value="http://www.amazon.com/" Text="amazon" />
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page
index eb1bc235..3d49331f 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TButton/Home.page
@@ -19,7 +19,7 @@ Button with customized color, font and width:
<tr><td class="samplenote">
A click button:
</td><td class="sampleaction">
-<com:TButton Text="click me" Click="buttonClicked" />
+<com:TButton Text="click me" OnClick="buttonClicked" />
</td></tr>
<tr><td class="samplenote">
@@ -27,7 +27,7 @@ A command button:
</td><td class="sampleaction">
<com:TButton
Text="click me"
- Command="buttonClicked"
+ OnCommand="buttonClicked"
CommandName="test"
CommandParameter="value"
/>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page
index d4833ea9..bc750cb8 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCheckBoxList/Home.page
@@ -107,7 +107,7 @@ Check box list's behavior upon postback:
<com:TListItem Value="value 4" Text="item 4" Enabled="false" />
<com:TListItem Value="value 5" Text="item 5" Selected="true" />
</com:TCheckBoxList>
-<com:TButton Text="Submit" Click="buttonClicked" />
+<com:TButton Text="Submit" OnClick="buttonClicked" />
<br/>
<com:TLabel ID="SelectionResult" ForeColor="red" />
</td>
@@ -118,7 +118,9 @@ Check box list's behavior upon postback:
Auto postback check box list:
</td>
<td class="sampleaction">
-<com:TCheckBoxList AutoPostBack="true" SelectedIndexChanged="selectionChanged">
+<com:TCheckBoxList
+ 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" />
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>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
index 497e5083..f0e0b9cd 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
@@ -26,7 +26,7 @@ body content
<tr><td class="samplenote">
A click link button:
</td><td class="sampleaction">
-<com:TLinkButton Text="click me" Click="buttonClicked" />
+<com:TLinkButton Text="click me" OnClick="buttonClicked" />
</td></tr>
<tr><td class="samplenote">
@@ -34,7 +34,7 @@ A command link button:
</td><td class="sampleaction">
<com:TLinkButton
Text="click me"
- Command="buttonClicked"
+ OnCommand="buttonClicked"
CommandName="test"
CommandParameter="value"
/>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page
index 66ac4fa2..161f68a4 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page
@@ -62,7 +62,9 @@ Disabled list box:
Auto postback list box:
</td>
<td class="sampleaction">
-<com:TListBox AutoPostBack="true" SelectedIndexChanged="selectionChanged">
+<com:TListBox
+ 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" />
@@ -83,7 +85,7 @@ List box's behavior upon postback:
<com:TListItem Value="value 3" Text="item 3" />
<com:TListItem Value="value 4" Text="item 4" />
</com:TListBox>
-<com:TButton Text="Submit" Click="buttonClicked"/>
+<com:TButton Text="Submit" OnClick="buttonClicked"/>
<com:TLabel ID="SelectionResult2" ForeColor="red" />
</td>
</tr>
@@ -131,7 +133,7 @@ List box's behavior upon postback:
<com:TListItem Value="value 3" Text="item 3" />
<com:TListItem Value="value 4" Text="item 4" Selected="true" />
</com:TListBox>
-<com:TButton Text="Submit" Click="buttonClicked2" />
+<com:TButton Text="Submit" OnClick="buttonClicked2" />
<br/>
<com:TLabel ID="MultiSelectionResult2" ForeColor="red" />
</td>
@@ -144,7 +146,7 @@ Auto postback list box:
<td class="sampleaction">
<com:TListBox AutoPostBack="true"
SelectionMode="Multiple"
- SelectedIndexChanged="multiSelectionChanged">
+ OnSelectedIndexChanged="multiSelectionChanged">
<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" />
@@ -170,7 +172,7 @@ Databind to an integer-indexed array:
<com:TListBox ID="DBListBox1"
AutoPostBack="true"
SelectionMode="Multiple"
- SelectedIndexChanged="DBListBox1Changed" />
+ OnSelectedIndexChanged="DBListBox1Changed" />
<com:TLabel ID="DBListBox1Result" ForeColor="red" />
</td>
</tr>
@@ -183,7 +185,7 @@ Databind to an associative array:
<com:TListBox ID="DBListBox2"
AutoPostBack="true"
SelectionMode="Multiple"
- SelectedIndexChanged="DBListBox2Changed" />
+ OnSelectedIndexChanged="DBListBox2Changed" />
<com:TLabel ID="DBListBox2Result" ForeColor="red" />
</td>
</tr>
@@ -198,7 +200,7 @@ Databind with DataTextField and DataValueField specified:
SelectionMode="Multiple"
DataTextField="name"
DataValueField="id"
- SelectedIndexChanged="DBListBox3Changed" />
+ OnSelectedIndexChanged="DBListBox3Changed" />
<com:TLabel ID="DBListBox3Result" ForeColor="red" />
</td>
</tr>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page
index c5c0d538..794b9dd0 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page
@@ -58,8 +58,8 @@ Panel with a default button (hit 'enter' key to see what happened):
This is panel content with a <com:TLabel Text="label" Font.Italic="true" />
and two buttons: <br/>
<com:TCheckBox />
-<com:TButton ID="Button1" Text="button1" Click="buttonClicked" />
-<com:TButton ID="Button2" Text="button2" Click="buttonClicked" />
+<com:TButton ID="Button1" Text="button1" OnClick="buttonClicked" />
+<com:TButton ID="Button2" Text="button2" OnClick="buttonClicked" />
<com:TLabel ID="Result" ForeColor="red" />
<br/>
When you change focus to the panel and hit 'enter' key, <tt>button2</tt>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page
index 3f5f7053..a65c4d2d 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page
@@ -107,7 +107,7 @@ Radio button list's behavior upon postback:
<com:TListItem Value="value 4" Text="item 4" Enabled="false" />
<com:TListItem Value="value 5" Text="item 5" />
</com:TRadioButtonList>
-<com:TButton Text="Submit" Click="buttonClicked" />
+<com:TButton Text="Submit" OnClick="buttonClicked" />
<br/>
<com:TLabel ID="SelectionResult" ForeColor="red" />
</td>
@@ -118,7 +118,9 @@ Radio button list's behavior upon postback:
Auto postback radio button list:
</td>
<td class="sampleaction">
-<com:TRadioButtonList AutoPostBack="true" SelectedIndexChanged="selectionChanged">
+<com:TRadioButtonList
+ 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" />
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page
index f771b2ba..7bbe1744 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page
@@ -51,7 +51,7 @@ Auto postback text box not causing validation:
Text="change me"
AutoPostBack="true"
CausesValidation="false"
- TextChanged="textChanged" />
+ OnTextChanged="textChanged" />
</td></tr>
<tr><td class="samplenote">
@@ -76,7 +76,7 @@ Text box's behavior upon postback:
<com:TButton
Text="Submit"
CausesValidation="false"
- Click="submitText" />
+ OnClick="submitText" />
</td></tr>
<tr><td class="samplenote">
@@ -148,7 +148,7 @@ Auto postback text box not causing validation:
Text="change me"
AutoPostBack="true"
CausesValidation="false"
- TextChanged="textChanged" />
+ OnTextChanged="textChanged" />
</td></tr>
<tr><td class="samplenote">