summaryrefslogtreecommitdiff
path: root/demos/controls/protected/pages/HomePage.tpl
blob: d1dd7724bdd5b4f11906a9ea6d1c5d1ca3d61992 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<%@ 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')"/>

<!
<com:TListBox SelectionMode="Multiple">
	<com:TListItem Text="a" Selected="true" />
	<com:TListItem Text="b" />
	<com:TListItem Text="c" />
	<com:TListItem Text="d" Selected="true" />
</com:TListBox>

<com:TDropDownList>
	<com:TListItem Text="a" />
	<com:TListItem Text="b" />
	<com:TListItem Text="c" Selected="true" />
	<com:TListItem Text="d" />
</com:TDropDownList>
!>
<%# $this->Page->TextBox->Text %>
</div>
</com:TForm>
</com:TContent>