I have a menu that I define as follows:
<asp:Menu ID="Menu1" runat="server" BackColor="Silver" DynamicHorizontalOffset="2" Font-Names="Verdana" ForeColor="Black" Font-Size="7pt" StaticSubMenuIndent="10px" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px">
<Items>
<asp:MenuItem Text="Main Menu" Value="Main Menu">
<asp:MenuItem Text="Event Entry"/>
<asp:MenuItem Text="Event Reporting"/>
</asp:MenuItem>
</Items>
<StaticSelectedStyle BackColor="White" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" />
<DynamicSelectedStyle BackColor="White" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="Black" Font-Bold="False" ForeColor="White" />
<StaticHoverStyle BackColor="Black" Font-Bold="False" ForeColor="White" />
</asp:Menu>
For the values in the menu, I want to query a Access DB and return the values to the MenuItem. Is this even possible?
Any help gets you a star!
Chilly442
<asp:Menu ID="Menu1" runat="server" BackColor="Silver" DynamicHorizontalOffset="2" Font-Names="Verdana" ForeColor="Black" Font-Size="7pt" StaticSubMenuIndent="10px" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px">
<Items>
<asp:MenuItem Text="Main Menu" Value="Main Menu">
<asp:MenuItem Text="Event Entry"/>
<asp:MenuItem Text="Event Reporting"/>
</asp:MenuItem>
</Items>
<StaticSelectedStyle BackColor="White" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" />
<DynamicSelectedStyle BackColor="White" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="Black" Font-Bold="False" ForeColor="White" />
<StaticHoverStyle BackColor="Black" Font-Bold="False" ForeColor="White" />
</asp:Menu>
For the values in the menu, I want to query a Access DB and return the values to the MenuItem. Is this even possible?
Any help gets you a star!
Chilly442