| 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></title> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<form id="form1" runat="server"> |
| 11 |
<div> |
| 12 |
<%= MonoTests.stand_alone.WebHarness.HtmlDiff.BEGIN_TAG %><asp:ListView ID="Bug604053ListView1" runat="server" DataSourceID="ObjectDataSource1"> |
| 13 |
<ItemTemplate> |
| 14 |
<tr style=""> |
| 15 |
<td> |
| 16 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 17 |
</td> |
| 18 |
<td> |
| 19 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 20 |
</td> |
| 21 |
</tr> |
| 22 |
</ItemTemplate> |
| 23 |
<AlternatingItemTemplate> |
| 24 |
<tr style=""> |
| 25 |
<td> |
| 26 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 27 |
</td> |
| 28 |
<td> |
| 29 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
</AlternatingItemTemplate> |
| 33 |
<EmptyDataTemplate> |
| 34 |
<table runat="server" style=""> |
| 35 |
<tr> |
| 36 |
<td> |
| 37 |
No data was returned.</td> |
| 38 |
</tr> |
| 39 |
</table> |
| 40 |
</EmptyDataTemplate> |
| 41 |
<InsertItemTemplate> |
| 42 |
<tr style=""> |
| 43 |
<td> |
| 44 |
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" |
| 45 |
Text="Insert" /> |
| 46 |
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" |
| 47 |
Text="Clear" /> |
| 48 |
</td> |
| 49 |
<td> |
| 50 |
<asp:TextBox ID="M1TextBox" runat="server" Text='<%# Bind("M1") %>' /> |
| 51 |
</td> |
| 52 |
<td> |
| 53 |
<asp:TextBox ID="M2TextBox" runat="server" Text='<%# Bind("M2") %>' /> |
| 54 |
</td> |
| 55 |
</tr> |
| 56 |
</InsertItemTemplate> |
| 57 |
<LayoutTemplate> |
| 58 |
<table runat="server"> |
| 59 |
<tr runat="server"> |
| 60 |
<td runat="server"> |
| 61 |
<table ID="itemPlaceholderContainer" runat="server" border="0" style=""> |
| 62 |
<tr runat="server" style=""> |
| 63 |
<th runat="server"> |
| 64 |
M1</th> |
| 65 |
<th runat="server"> |
| 66 |
M2</th> |
| 67 |
</tr> |
| 68 |
<tr ID="itemPlaceholder" runat="server"> |
| 69 |
</tr> |
| 70 |
</table> |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
<tr runat="server"> |
| 74 |
<td runat="server" style=""> |
| 75 |
<asp:DataPager ID="DataPager1" runat="server" PageSize="2"> |
| 76 |
<Fields> |
| 77 |
<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" |
| 78 |
ShowNextPageButton="False" ShowPreviousPageButton="False" /> |
| 79 |
<asp:NumericPagerField /> |
| 80 |
<asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" |
| 81 |
ShowNextPageButton="False" ShowPreviousPageButton="False" /> |
| 82 |
</Fields> |
| 83 |
</asp:DataPager> |
| 84 |
</td> |
| 85 |
</tr> |
| 86 |
</table> |
| 87 |
</LayoutTemplate> |
| 88 |
<EditItemTemplate> |
| 89 |
<tr style=""> |
| 90 |
<td> |
| 91 |
<asp:Button ID="UpdateButton" runat="server" CommandName="Update" |
| 92 |
Text="Update" /> |
| 93 |
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" |
| 94 |
Text="Cancel" /> |
| 95 |
</td> |
| 96 |
<td> |
| 97 |
<asp:TextBox ID="M1TextBox" runat="server" Text='<%# Bind("M1") %>' /> |
| 98 |
</td> |
| 99 |
<td> |
| 100 |
<asp:TextBox ID="M2TextBox" runat="server" Text='<%# Bind("M2") %>' /> |
| 101 |
</td> |
| 102 |
</tr> |
| 103 |
</EditItemTemplate> |
| 104 |
<SelectedItemTemplate> |
| 105 |
<tr style=""> |
| 106 |
<td> |
| 107 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 108 |
</td> |
| 109 |
<td> |
| 110 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 111 |
</td> |
| 112 |
</tr> |
| 113 |
</SelectedItemTemplate> |
| 114 |
</asp:ListView> |
| 115 |
<asp:ListView ID="Bug604053ListView2" runat="server" DataSourceID="ObjectDataSource1"> |
| 116 |
<ItemTemplate> |
| 117 |
<tr style=""> |
| 118 |
<td> |
| 119 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 120 |
</td> |
| 121 |
<td> |
| 122 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 123 |
</td> |
| 124 |
</tr> |
| 125 |
</ItemTemplate> |
| 126 |
<AlternatingItemTemplate> |
| 127 |
<tr style=""> |
| 128 |
<td> |
| 129 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 130 |
</td> |
| 131 |
<td> |
| 132 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 133 |
</td> |
| 134 |
</tr> |
| 135 |
</AlternatingItemTemplate> |
| 136 |
<EmptyDataTemplate> |
| 137 |
<table runat="server" style=""> |
| 138 |
<tr> |
| 139 |
<td> |
| 140 |
No data was returned.</td> |
| 141 |
</tr> |
| 142 |
</table> |
| 143 |
</EmptyDataTemplate> |
| 144 |
<InsertItemTemplate> |
| 145 |
<tr style=""> |
| 146 |
<td> |
| 147 |
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" |
| 148 |
Text="Insert" /> |
| 149 |
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" |
| 150 |
Text="Clear" /> |
| 151 |
</td> |
| 152 |
<td> |
| 153 |
<asp:TextBox ID="M1TextBox" runat="server" Text='<%# Bind("M1") %>' /> |
| 154 |
</td> |
| 155 |
<td> |
| 156 |
<asp:TextBox ID="M2TextBox" runat="server" Text='<%# Bind("M2") %>' /> |
| 157 |
</td> |
| 158 |
</tr> |
| 159 |
</InsertItemTemplate> |
| 160 |
<LayoutTemplate> |
| 161 |
<table runat="server"> |
| 162 |
<tr runat="server"> |
| 163 |
<td runat="server"> |
| 164 |
<table ID="itemPlaceholderContainer" runat="server" border="0" style=""> |
| 165 |
<tr runat="server" style=""> |
| 166 |
<th runat="server"> |
| 167 |
M1</th> |
| 168 |
<th runat="server"> |
| 169 |
M2</th> |
| 170 |
</tr> |
| 171 |
<tr ID="itemPlaceholder" runat="server"> |
| 172 |
</tr> |
| 173 |
</table> |
| 174 |
</td> |
| 175 |
</tr> |
| 176 |
<tr runat="server"> |
| 177 |
<td runat="server" style=""> |
| 178 |
<asp:DataPager ID="DataPager1" runat="server" PageSize="2"> |
| 179 |
<Fields> |
| 180 |
<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" |
| 181 |
ShowLastPageButton="True" /> |
| 182 |
</Fields> |
| 183 |
</asp:DataPager> |
| 184 |
</td> |
| 185 |
</tr> |
| 186 |
</table> |
| 187 |
</LayoutTemplate> |
| 188 |
<EditItemTemplate> |
| 189 |
<tr style=""> |
| 190 |
<td> |
| 191 |
<asp:Button ID="UpdateButton" runat="server" CommandName="Update" |
| 192 |
Text="Update" /> |
| 193 |
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" |
| 194 |
Text="Cancel" /> |
| 195 |
</td> |
| 196 |
<td> |
| 197 |
<asp:TextBox ID="M1TextBox" runat="server" Text='<%# Bind("M1") %>' /> |
| 198 |
</td> |
| 199 |
<td> |
| 200 |
<asp:TextBox ID="M2TextBox" runat="server" Text='<%# Bind("M2") %>' /> |
| 201 |
</td> |
| 202 |
</tr> |
| 203 |
</EditItemTemplate> |
| 204 |
<SelectedItemTemplate> |
| 205 |
<tr style=""> |
| 206 |
<td> |
| 207 |
<asp:Label ID="M1Label" runat="server" Text='<%# Eval("M1") %>' /> |
| 208 |
</td> |
| 209 |
<td> |
| 210 |
<asp:Label ID="M2Label" runat="server" Text='<%# Eval("M2") %>' /> |
| 211 |
</td> |
| 212 |
</tr> |
| 213 |
</SelectedItemTemplate> |
| 214 |
</asp:ListView><%= MonoTests.stand_alone.WebHarness.HtmlDiff.END_TAG %> |
| 215 |
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" |
| 216 |
OldValuesParameterFormatString="original_{0}" SelectMethod="Retrieve" |
| 217 |
TypeName="Bug604053.Prueba.DataSource"></asp:ObjectDataSource> |
| 218 |
</div> |
| 219 |
</form> |
| 220 |
</body> |
| 221 |
</html> |