PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/Demo/MasterPage.master

http://izwebfilemanager.googlecode.com/
ASP.NET | 48 lines | 44 code | 4 blank | 0 comment | 0 complexity | 2dd946e227d26bac11884046ca08dae7 MD5 | raw file
  1. <%@ Master Language="C#" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <script runat="server">
  4. protected void Page_Load (object sender, EventArgs e) {
  5. Page.Title = SiteMap.CurrentNode.Description;
  6. }
  7. </script>
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head runat="server">
  10. <title>Untitled Page</title>
  11. </head>
  12. <body>
  13. <form id="form1" runat="server">
  14. <div>
  15. <table>
  16. <tr>
  17. <td valign="top">
  18. <div style="position: relative; z-index: 200;">
  19. <asp:Menu ID="Menu1" runat="server" BackColor="#B5C7DE" DataSourceID="SiteMapDataSource1"
  20. DynamicHorizontalOffset="2" Font-Names="Verdana" ForeColor="#284E98" Orientation="Horizontal"
  21. StaticSubMenuIndent="10px">
  22. <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
  23. <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
  24. <DynamicMenuStyle BackColor="#B5C7DE" />
  25. <StaticSelectedStyle BackColor="#507CD1" ForeColor="White" />
  26. <DynamicSelectedStyle BackColor="#507CD1" ForeColor="White" />
  27. <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
  28. <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
  29. </asp:Menu>
  30. </div>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td valign="top">
  35. <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
  36. </asp:ContentPlaceHolder>
  37. </td>
  38. </tr>
  39. </table>
  40. <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="False" />
  41. </div>
  42. </form>
  43. </body>
  44. </html>