diff options
author | ctrlaltca@gmail.com <> | 2011-06-01 20:48:19 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-01 20:48:19 +0000 |
commit | 45c32f4610b9988e0ebed87674388268ac96ae1f (patch) | |
tree | c72049204b5ed823c39a7533b7fa19298289928d /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page | |
parent | 78d82290a076ea1da6da7f8a5bd0297eb7584db5 (diff) |
added documentation for TActiveImageButton class
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page new file mode 100644 index 00000000..8277a8cb --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.page @@ -0,0 +1,49 @@ +<com:TContent ID="body">
+
+<h1>TActiveImageButton Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+A click image button showing the click location:
+</td><td class="sampleaction">
+<com:TActiveImageButton
+ ImageUrl=<%~ hello_world.gif %>
+ Text="hello world"
+ OnClick="buttonClicked"
+ />
+<com:TActiveLabel ID="Result" />
+</td></tr>
+
+<tr><td class="samplenote">
+A callback image button:
+</td><td class="sampleaction">
+<com:TActiveImageButton
+ ImageUrl=<%~ hello_world.gif %>
+ Text="hello world"
+ OnCallback="buttonClicked"
+ ActiveControl.CallbackParameter="value"
+ />
+<com:TActiveLabel ID="Result2" />
+</td></tr>
+
+<tr><td class="samplenote">
+An image button causing validation:
+</td><td class="sampleaction">
+<com:TActiveTextBox ID="TextBox" />
+<com:TRequiredFieldValidator
+ ControlToValidate="TextBox"
+ Display="Dynamic"
+ ErrorMessage="input required in the textbox"
+ ValidationGroup="Group"
+ />
+<com:TActiveImageButton
+ ImageUrl=<%~ hello_world.gif %>
+ Text="hello world"
+ ValidationGroup="Group"
+ />
+</td></tr>
+
+</table>
+
+<div class="last-modified">$Id$</div></com:TContent>
\ No newline at end of file |