Click here to Skip to main content
13,044,428 members (132,592 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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: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:TableCell CssClass="div1" Width="70" Height="60">
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        <asp:TableCell RowSpan="2" VerticalAlign="Top" HorizontalAlign="Center">
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
                <asp:TableRow CssClass="sitemap">
                    <asp:TableCell HorizontalAlign="center" ColumnSpan="2" CssClass="cell">
                        <br />
                        <asp:SiteMapPath ID="SiteMapPath1" runat="server">


This is my sitemap
<siteMap xmlns="" >
    <siteMapNode  title="Home" url="Default.aspx" />

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Apr 2013
Copyright © CodeProject, 1999-2017
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