Problem with repeating Menu Control

Discussion in 'ASP .Net' started by Guest, Feb 6, 2006.

  1. Guest

    Guest Guest

    Hi, I have a problem with the ASP:Menu control from ASP.NET 2.0, I'm new on
    this so I have no idea how to do this...

    I have a code that generates a menu for every record in my DB the problem is
    that every Menus have the same ID and only works the first one, I tried with
    ID="MenuControl<%=RS("id")%>" but didn't work, ID="MenuControl" & i and
    didn't work. How I do to change the Menu's ID for each one?

    While RS.EOF=False

    <asp:Menu runat="server" ID="menucontrol" BackColor="#B5C7DE"


    Sorry my bad english.
    Guest, Feb 6, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.