FooterTemplateTest.aspx 1.0 KB

1234567891011121314151617181920212223242526
  1. <%@ Page Language="C#" AutoEventWireup="true" Codebehind="MyPage.aspx.cs" Inherits="MyPage" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5. <title>Untitled Page</title>
  6. </head>
  7. <body>
  8. <form id="form1" runat="server">
  9. starttest
  10. <div>
  11. <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" DataSourceID="ObjectDataSource1"
  12. Height="50px" Width="125px">
  13. <FooterTemplate>
  14. Footer Template Test<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# "Footer" %>'></asp:HyperLink>
  15. </FooterTemplate>
  16. </asp:DetailsView>
  17. <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetMyData"
  18. TypeName="MonoTests.System.Web.UI.WebControls.TableObject"></asp:ObjectDataSource>
  19. </div>
  20. endtest
  21. </form>
  22. </body>
  23. </html>