summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
diff options
context:
space:
mode:
authorxue <>2006-01-21 15:25:10 +0000
committerxue <>2006-01-21 15:25:10 +0000
commitdd76d0c2cfa3425c2e8dad54f2bcb12148957db5 (patch)
treec8a4d485b11fe21804d6f4254e69f3da868aca36 /demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
parentfe344abe284632c5a5d0c0317fc6d28f30934036 (diff)
Added TLinkButton demos.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page58
1 files changed, 58 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
new file mode 100644
index 00000000..497e5083
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page
@@ -0,0 +1,58 @@
+<com:TContent ID="body">
+
+<h1>TLinkButton Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+Link button with customized color and font:
+</td><td class="sampleaction">
+<com:TLinkButton
+ Text="link button"
+ ForeColor="silver"
+ BackColor="black"
+ Font.Size="14pt"
+/>
+</td></tr>
+
+<tr><td class="samplenote">
+Link button with only body content:
+</td><td class="sampleaction">
+<com:TLinkButton>
+body content
+</com:TLinkButton>
+</td></tr>
+
+<tr><td class="samplenote">
+A click link button:
+</td><td class="sampleaction">
+<com:TLinkButton Text="click me" Click="buttonClicked" />
+</td></tr>
+
+<tr><td class="samplenote">
+A command link button:
+</td><td class="sampleaction">
+<com:TLinkButton
+ Text="click me"
+ Command="buttonClicked"
+ CommandName="test"
+ CommandParameter="value"
+ />
+</td></tr>
+
+<tr><td class="samplenote">
+A button causing validation:
+</td><td class="sampleaction">
+<com:TTextBox ID="TextBox" />
+<com:TRequiredFieldValidator
+ ControlToValidate="TextBox"
+ Display="Dynamic"
+ ErrorMessage="input required in the textbox"
+ ValidationGroup="Group"
+ />
+<com:TLinkButton Text="submit" ValidationGroup="Group" />
+</td></tr>
+
+</table>
+
+</com:TContent> \ No newline at end of file