summaryrefslogtreecommitdiff
path: root/demos/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls')
-rw-r--r--demos/controls/protected/pages/HomePage.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index 66fd9e71..9c9ef716 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -2,11 +2,11 @@
<com:TContent id="header" >
<com:TForm>
<h1>Welcome! <%=$this->User->Name %></h1>
-<com:TLiteral Text="literal" />
+<com:TLiteral Text="<literal>" Encode="true"/>
<com:TTextBox Text="textbox" />
-<com:TLabel Text="label" /><br/>
+<com:TLabel Text="test" AssociatedControlID="checkbox"/><br/>
<com:System.Web.UI.WebControls.TButton text="Toggle Button" ForeColor="red" Font.size="18" Click="testClick" /> (requires membership)<br/>
-<com:TCheckBox Text="Checkbox" /><br/>
+<com:TCheckBox Text="Checkbox" ID="checkbox"/><br/>
<com:TImage ImageUrl=<%~/fungii_logo.gif %> />
<com:TImageButton ImageUrl=<%~/fungii_logo.gif %> /><br/>
<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |