/usr/share/asp.net-demos/2.0/treeview/populate-on-demand.aspx is in asp.net-examples 3.8-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 | <%@ Page Language="C#" Inherits="Populate"%>
<%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Treeview - populate-on-demand</title>
<link rel="stylesheet" type="text/css" href="/mono-xsp.css">
</head>
<body>
<mono:MonoSamplesHeader runat="server"/>
<form id="form1" runat="server">
<p>A sample tree populated on demand using callback (no postback).<br/>The code that generates the nodes can be found in <a href="populate.cs">populate.cs</a></p>
<div>
<asp:TreeView ID="TreeView1" Runat="server" OnTreeNodePopulate="TreeView1_TreeNodePopulate"
EnableClientScript="true"
PopulateNodesFromClient="true"
ExpandDepth="0"
>
<Nodes>
<asp:TreeNode Text="Inventory"
SelectAction="Expand"
PopulateOnDemand="true"/>
</Nodes>
</asp:TreeView>
</div>
</form>
</body>
</html>
|