New tests.
[mono.git] / mcs / class / System.Web / Test / mainsoft / NunitWebResources / FormViewPagerVisibility.aspx
1 <%@ Page Language="C#" %>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4   <head>
5     <title>Bug #578863</title>
6   </head>
7   <body>
8     <form id="form1" runat="server">
9       <%= MonoTests.stand_alone.WebHarness.HtmlDiff.BEGIN_TAG %><asp:FormView ID="FormView1" runat="server" AllowPaging="True" BackColor="#DEBA84"
10                     BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
11                     DataSourceID="ObjectDataSource1" GridLines="Both">
12         <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
13         <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
14         <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
15         <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
16         <ItemTemplate>
17           <asp:Label ID="Label1" runat="server" Text="<%# FormView1.DataItem.ToString() %>"></asp:Label>
18         </ItemTemplate>
19         <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
20         <PagerSettings Visible="false"/>
21       </asp:FormView><%= MonoTests.stand_alone.WebHarness.HtmlDiff.END_TAG %>
22       <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
23                             DeleteMethod="DeleteList" InsertMethod="InsertList" SelectMethod="GetMyList"
24                             TypeName="MonoTests.System.Web.UI.WebControls.TestMyData" UpdateMethod="UpdateList">
25         <DeleteParameters>
26           <asp:Parameter Name="value" Type="Int32" />
27         </DeleteParameters>
28         <InsertParameters>
29           <asp:Parameter Name="value" Type="Int32" />
30         </InsertParameters>
31         <UpdateParameters>
32           <asp:Parameter Name="index" Type="Int32" />
33           <asp:Parameter Name="value" Type="Int32" />
34         </UpdateParameters>
35       </asp:ObjectDataSource>
36     </form>
37   </body>
38 </html>