html - Best way to create a menu in an ASP.NET website -
i have create simple, one-level menu in asp.net website clicking on items result in displaying apt .ascx file on remaining screen area. know suitable method achieve this:
- asp.net menu control
- html ul tag
- html table hyper-links within cells
- any other way (which wasn't able identify)
apologies if it's silly question, experimenting , gradually taking asp.net, wanted learn best practices/usages.
thanks help!
i recommend using menu control , minimal "lead-in" pages host ascx controls. on used use multiview controls minimize page count (on site can exceed several thousand pages), found method required lot of effort provide hard linking particular section , didn't decrease page count because still have separate ascx each piece of functionality. if have bare-bones aspx page holds master page reference (if used) , registration webusercontrol you're using, keep things brief , controllable. @xiii mentioned, able use sitemap or xml file bind menu object.
Comments
Post a Comment