File: web_label.aspx

package info (click to toggle)
xsp 2.10-2.4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,656 kB
  • sloc: cs: 11,307; xml: 8,481; sh: 4,378; perl: 1,189; makefile: 744; php: 6
file content (22 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%@ Page language="C#" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<html>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
<script runat=server>
	void Page_Load (object o, EventArgs e)
	{
		lbl1.Text += ". This added in Page_Load.";
	}
</script>
<head>
<title>Label</title>
</head>
<body><mono:MonoSamplesHeader runat="server"/>
<form runat="server">
<asp:label id="lbl1" Text="Text as property" runat="server"/>
<br>
<asp:label id="lbl2" runat="server">Text between tags</asp:label>
</form>
</body>
</html>