You must Sign In to post a response.
  • Category: ASP.Net MVC

    How to show menu in home page from database

    Hi,

    i want to show menu in my home page like.

    Home drinks snacks

    like that where drinks and snacks coming from database how i want to show that one.
  • #762836
    Hi Dinesh.

    You want menu displayed from database or if menu clicked items should be displayed?
    1.Create a masterpage with adding menu control to it. Name the menu items as Home,drinks and snacks.
    Give the navigate url for snacks as snacks.aspx andd for drinks menu item give navigate url as drinks.aspx.
    2.Create snacks.aspx page and load all snacks items with in gridview or any other control on to the snacks.aspx pageload event.
    3.Create drinks.aspx page and load all snacks items with in gridview or any other control on to the drinks.aspx pageload event.

    Sridhar Thota.
    Editor: DNS Forum.


Sign In to post your comments