views:

10

answers:

1

i have 1 master page with a 2 page form in it. since i cannot accomodate both pages of form on this master page, i made a nested master page which shall load with page 2 of the form. Now the original master page has 5 different URL links in it. I want these links to be seen from both the master pages. So doesnt matter where the user is, on Master page 1 or 2, he should be able to see the links and click on them. how can i do that?

A: 

If you want to reuse some interface components, i'd say your best bet is to encapsulate the menu links within a User Control. Then just place the User Control in both Master Pages. Will this work in your scenario?

Edit: Working with User Controls is fairly simple at first. Just add a new UserControl to your asp.net project, then copy your current menu items into it, and then drag the new user control out into your master pages. Here's a good resource for getting started.

Slider345
that sounds good. Can you give me a little more insight on how to use a usercontrol? An example or a link is sufficient. Thanks for help
ewdew
@ewdew, see my edits for a little more info and a link. I am confused a little bit by your question though, if you have nested master pages it seems like you would be getting duplicate menus.
Slider345