/usr/share/asp.net-demos/1.1/customcontrol/tabcontrol2.aspx is in asp.net-examples 4.2-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <%@ Page Language="C#" %>
<%@ Import namespace="System.Reflection" %>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<%@ Register TagPrefix="Mono" Namespace="Mono.Controls" assembly="tabcontrol2" %>
<html>
<!-- You must compile tabcontrol2.cs and copy the dll to the output/ directory -->
<!-- Authors:
-- Gonzalo Paniagua Javier (gonzalo@ximian.com)
-- (c) 2002 Ximian, Inc (http://www.ximian.com)
-->
<head>
<title>User Control tabcontrol2</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
<script runat="server">
private static int _clicked = 0;
void Clicked (object o, EventArgs e)
{
uno.InnerText = String.Format ("Somebody pressed me {0} times.", ++_clicked);
}
private static int _txt_changed = 0;
void txt_Changed (object sender, EventArgs e)
{
dos.InnerText = String.Format ("Text have changed {0} times.", ++_txt_changed);
}
</script>
</head>
<body><mono:MonoSamplesHeader runat="server"/>
<center>
<h3>Test for Tabs user control (tabcontrol2.dll)</h3>
<hr>
</center>
<form runat="server">
<Mono:Tabs2 runat="server" id="tabs">
<Mono:TabContent runat="server" label="Empty" />
<Mono:TabContent runat="server" label="Image">
Hi there
<p>
<asp:Image id="im" runat="server"
AlternateText="Yes, again the dancing monkey"
ImageAlign="left"
ImageUrl="http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png"/>
</Mono:TabContent>
<Mono:TabContent runat="server" Label="Form">
<asp:Button id="btn"
Text="Submit"
OnClick="Clicked"
runat="server"/>
<br>
<span runat=server id="uno"/>
<br>
<span runat=server id="dos"/>
<br>
<asp:TextBox id="txt1" Text="You can write here." TextMode="MultiLine"
OnTextChanged="txt_Changed" runat="server" rows=5 />
<br>
</Mono:TabContent>
</Mono:Tabs2>
</form>
</body>
</html>
|