summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/HomePage.tpl
blob: ea5a182c90c245a7ea9daa15e735d9d9a3305cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<%@ MasterClass="Pages.master.MasterPage" Title="Main Page" %>
<com:TContent id="body" >
<com:TForm>
<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" 
	onclick="javascript:alert('you hit me')"/>

</div>
</com:TForm>
</com:TContent>