View Full Version : Best way to include an asp dropdownlist nav to a subfolder of pages

10-06-2010, 09:46 PM
Hello! I have 50 pages that reside in their own folder within a much larger ASP.NET C# website. These pages use the same asp:dropdownlist that simply links to another of the 50 pages. Currently, the dropdownlist is on every individual page. What's the best way to put it in one file and include it? I tried creating a child.master and a custom control with no luck. Please note that I'm a newbie and will need an example to learn with. Any help would be greatly appreciated. Thanks!

10-07-2010, 04:30 PM
Hi anessa05,

Yes, sounds like a master page is what you need. Here's a link: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/masterpages/default.aspx#content