UpdatePanelCreateContentTemplateContainerCS.aspx 1019 B

123456789101112131415161718192021222324252627
  1. <%@ Page Language="C#" %>
  2. <%@ Register Namespace="SamplesCS" TagPrefix="Samples" Assembly="SystemWebExtensionsAUT" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  4. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7. <title>CreateContentTemplateContainer Example</title>
  8. </head>
  9. <body>
  10. <form id="form1" runat="server">
  11. <div>
  12. <asp:ScriptManager ID="ScriptManager1"
  13. runat="server" />
  14. <Samples:CustomUpdatePanel ID="UpdatePanel1"
  15. UpdateMode="Conditional"
  16. GroupingText="This is an UpdatePanel."
  17. runat="server">
  18. <ContentTemplate>
  19. <asp:Calendar ID="Calendar1"
  20. runat="server" />
  21. </ContentTemplate>
  22. </Samples:CustomUpdatePanel>
  23. </div>
  24. </form>
  25. </body>
  26. </html>