summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls/protected/pages')
-rw-r--r--demos/controls/protected/pages/HomePage.tpl60
1 files changed, 50 insertions, 10 deletions
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index 76c24e39..ea5a182c 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -4,17 +4,57 @@
<div>
<com:THiddenField Value="test" />
<h1>Welcome! <%=$this->User->Name %></h1>
+
+<com:TJavascriptLogger />
+
<com:TLiteral Text="<literal>" Encode="true"/>
-<com:TTextBox ID="TextBox" Text="textbox" AutoPostBack="true" CausesValidation="false" />
-<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" ID="checkbox" AutoPostBack="true" /><br/>
-<com:TRadioButton Text="Radiobutton" ID="radiobutton" AutoPostBack="true" /><br/>
-<com:TImage ImageUrl=<%~/fungii_logo.gif %> />
-<com:TImageButton ImageUrl=<%~/fungii_logo.gif %> Click="clickImage"/><br/>
-<com:THyperLink Text="Visit a 'classless' page" NavigateUrl="?sp=page.plain" /> |
-<com:THyperLink Text="Visit member only page" NavigateUrl="?sp=page.private.member" />
-<com:TLinkButton Text="Click Me" Click="linkClicked" OnClientClick="javascript:alert('you hit me')"/>
+
+<com:TTextBox
+ ID="TextBox"
+ Text="textbox"
+ AutoPostBack="true"
+ CausesValidation="false" />
+
+<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"
+ ID="checkbox"
+ AutoPostBack="true" /><br/>
+
+<com:TRadioButton
+ Text="Radiobutton"
+ ID="radiobutton"
+ AutoPostBack="true" /><br/>
+
+<com:TImage
+ ImageUrl=<%~/fungii_logo.gif %> />
+
+<com:TImageButton
+ ImageUrl=<%~/fungii_logo.gif %>
+ Click="clickImage"/><br/>
+
+<com:THyperLink
+ Text="Visit a 'classless' page"
+ NavigateUrl="?sp=page.plain" /> |
+
+<com:THyperLink
+ Text="Visit member only page"
+ NavigateUrl="?sp=page.private.member" />
+
+<com:TLinkButton
+ Text="Click Me"
+ Click="linkClicked"
+ onclick="javascript:alert('you hit me')"/>
+
</div>
</com:TForm>
</com:TContent> \ No newline at end of file