blob: 083a1b9df64821d85d3f4aa69522d9ee01ea5342 (
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
|
<%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
<%@ Page Language="c#" AutoEventWireup="false" Codebehind="DataList_FooterStyle.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_UI_WebControls.DataList_FooterStyle" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>DataList_FooterStyle</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="JavaScript">
function ScriptTest()
{
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
}
</script>
</HEAD>
<body>
<FORM id="Form2" method="post" runat="server">
<cc1:ghtsubtest id="GHTSubTest1" runat="server" Width="104px" Height="96px" Description="Default">
<asp:DataList id=DataList1 runat="server" DataSource="<%# m_data %>">
<FooterTemplate>
Footer
</FooterTemplate>
<ItemTemplate>
<%#Container.DataItem%>
</ItemTemplate>
</asp:DataList>
</cc1:ghtsubtest><cc1:ghtsubtest id="Ghtsubtest2" runat="server" Width="104px" Height="96px" Description="Set">
<asp:DataList id=DataList2 runat="server" DataSource="<%# m_data %>">
<FooterTemplate>
<P>Footer</P>
</FooterTemplate>
<ItemTemplate>
<%#Container.DataItem%>
</ItemTemplate>
<FooterStyle Font-Overline="True" Font-Underline="True" Font-Names="Arial Narrow" Font-Italic="True"
Font-Bold="True" Font-Strikeout="True" BorderWidth="3px" ForeColor="#004000" BorderStyle="Double"
BorderColor="Lime" BackColor="Purple"></FooterStyle>
</asp:DataList>
</cc1:ghtsubtest><cc1:ghtsubtest id="Ghtsubtest3" runat="server" Width="104px" Height="96px" Description="Inherits control style">
<asp:DataList id=DataList3 runat="server" BackColor="#FF8080" BorderColor="#FFFFC0" BorderStyle="Groove" Font-Names="AngsanaUPC" ForeColor="DarkRed" GridLines="Both" DataSource="<%# m_data %>">
<FooterTemplate>
Footer
</FooterTemplate>
<ItemTemplate>
<%#Container.DataItem%>
</ItemTemplate>
</asp:DataList>
</cc1:ghtsubtest><cc1:ghtsubtest id="Ghtsubtest4" runat="server" Width="104px" Height="96px" Description="Overrides control style">
<asp:DataList id=DataList4 runat="server" BackColor="#FF8080" BorderColor="#FFFFC0" BorderStyle="Groove" Font-Names="AngsanaUPC" ForeColor="DarkRed" GridLines="Both" DataSource="<%# m_data %>">
<FooterTemplate>
Footer
</FooterTemplate>
<ItemTemplate>
<%#Container.DataItem%>
</ItemTemplate>
<FooterStyle Font-Names="Batang" ForeColor="Purple" BorderStyle="Dotted" BorderColor="#000040"
BackColor="#8080FF"></FooterStyle>
</asp:DataList>
</cc1:ghtsubtest> </FORM>
</body>
</HTML>
|