Fixes to a bunch of unit tests which would fail when running on .NET and few updates to
[mono.git] / mcs / class / System.Web / Test / mainsoft / NunitWebResources / FormViewTest1_2.aspx
1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyPage.aspx.cs" Inherits="MyPage" %>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5 <html xmlns="http://www.w3.org/1999/xhtml" >
6 <head runat="server">
7     <title>Untitled Page</title>
8 </head>
9 <body>
10     <form id="form1" runat="server">
11     <div>
12         <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
13             DeleteMethod="DeleteList" InsertMethod="InsertList" SelectMethod="GetMyList"
14             TypeName="MonoTests.System.Web.UI.WebControls.TestMyData" UpdateMethod="UpdateList">
15             <DeleteParameters>
16                 <asp:Parameter Name="value" Type="Int32" />
17             </DeleteParameters>
18             <InsertParameters>
19                 <asp:Parameter Name="value" Type="Int32" />
20             </InsertParameters>
21             <UpdateParameters>
22                 <asp:Parameter Name="index" Type="Int32" />
23                 <asp:Parameter Name="value" Type="Int32" />
24             </UpdateParameters>
25         </asp:ObjectDataSource>
26         <%= MonoTests.stand_alone.WebHarness.HtmlDiff.BEGIN_TAG %><asp:FormView ID="FormView2" runat="server" AllowPaging="True" CellPadding="4" DataSourceID="ObjectDataSource1"
27             ForeColor="#333333">
28             <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
29             <EditRowStyle BackColor="#999999" />
30             <PagerTemplate>
31                 <asp:Button ID="Button1" runat="server" CommandArgument='<%# "Prev" %>' Text='<%# "Prev Item" %>' CommandName='<%# "Page" %>' />
32                 <asp:Button ID="Button2" runat="server" CommandArgument='<%# "Next" %>' Text='<%# "Next Item" %>' CommandName='<%# "Page" %>' />
33                 <asp:Button ID="Button3" runat="server" CommandArgument='<%# "First" %>' Text='<%# "First Item" %>' CommandName='<%# "Page" %>' />
34                 <asp:Button ID="Button4" runat="server" CommandArgument='<%# "Last" %>' Text='<%# "Last Item" %>' CommandName='<%# "Page" %>' />
35             </PagerTemplate>
36             <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
37             <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
38             <FooterTemplate>
39                 <asp:Label ID="Label3" runat="server" Text='<%# "Footer Template Test" %>'></asp:Label>
40             </FooterTemplate>
41             <ItemTemplate>
42                 <asp:Label ID="Label2" runat="server" Text="<%# FormView2.DataItem.ToString() %>"></asp:Label>
43             </ItemTemplate>
44             <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
45         </asp:FormView><%= MonoTests.stand_alone.WebHarness.HtmlDiff.END_TAG %>
46     </div>
47     </form>
48 </body>
49 </html>
50 endtest