Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET CSS
I have a sitemap( Web.sitemap) taht is working with all the menu like Home, Contact Us...
 
So i do not know how to insert an icons to all the menu.
 
This is a table that i called the sitemap
<asp:Table ID="Table1" runat="server"  Width = "800" HorizontalAlign ="Center">
                <asp:TableHeaderRow>
                    <asp:TableHeaderCell>
 
                    </asp:TableHeaderCell>
                </asp:TableHeaderRow>
                <asp:TableRow>
                    <asp:TableCell ColumnSpan="2" CssClass="div1">
                        <asp:Menu ID="Menu1" runat="server" DataSourceID="source1" BackColor="Gray"
                            Font-Names="Verdana" Font-Size="Small" ForeColor="#e6e6c8" Orientation="Horizontal" Width="800px" >
                            <StaticHoverStyle BackColor="Gray" ForeColor="White" CssClass="TableHead" />
                            <StaticMenuItemStyle HorizontalPadding="50px" VerticalPadding="2px" CssClass="TableHead" />
                            <StaticSelectedStyle BackColor="Blue" ForeColor="White" CssClass="TableHead" />
                            <DynamicHoverStyle BackColor="Blue" ForeColor="White" CssClass="TableHead" />
                            <DynamicMenuItemStyle HorizontalPadding="30px" VerticalPadding="2px"  CssClass="TableHead"/>
                            <DynamicMenuStyle BackColor="Blue" BorderWidth="2px" BorderColor="#2f9ca3" CssClass="allcev"/>
                            <DynamicSelectedStyle BackColor="Maroon" CssClass="allcev" />
                        </asp:Menu>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell CssClass="div1" Width="70" Height="60">
 
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        </asp:ContentPlaceHolder>
                    </asp:TableCell>
                    
                </asp:TableRow>
                <asp:TableRow>
                    
                        <asp:TableCell RowSpan="2" VerticalAlign="Top" HorizontalAlign="Center">
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
                        </asp:ContentPlaceHolder>
                    </asp:TableCell>
                    
                </asp:TableRow>
 
                <asp:TableRow CssClass="sitemap">
                    <asp:TableCell HorizontalAlign="center" ColumnSpan="2" CssClass="cell">
                        <br />
                        <asp:SiteMapPath ID="SiteMapPath1" runat="server">
                        </asp:SiteMapPath>
                    </asp:TableCell>
                </asp:TableRow>
 
        </asp:Table>
 

 
This is my sitemap
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode>
    <siteMapNode  title="Home" url="Default.aspx" />
 

 
    <siteMapNode   title="LogIn as" >
      <siteMapNode  url="LogInStudent.aspx" title="Student"/>
      <siteMapNode url="LogInAdmin.aspx"  title="Administrator"/>
 
    </siteMapNode>
    
      <siteMapNode  title="Vote" url="Vote.aspx">
  </siteMapNode>
 
      <siteMapNode  title="View">
        <siteMapNode  title="View Manifesto"/>
        <siteMapNode  title="View Voting Poll"/>
        <siteMapNode  title="View Final Results"/>
        <siteMapNode  title="View Party"/>
      
    </siteMapNode>
 
    <siteMapNode  title="Contact Us" url="ContactUs.aspx" />
 
    <siteMapNode  title="Help" url="Help.aspx" />
  </siteMapNode>
</siteMap>
Posted 23-Apr-13 22:30pm
Edited 23-Apr-13 22:33pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 105
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 24 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100