views:

233

answers:

2

I am using SiteMap and Menu in asp.net to create menus on masterpage. i want to open a same page lets say "Under Construction" from multiple menus. but its giving me error that one menu can refer to one page only. please give me solution to implement this.

A: 

All Urls must be unique in the sitemap.

You could create the pages, and load a under construction user control, or alternatively, redirect the user in Page_Load to the under construction page.

Junto
A: 

You can create an xmldoc in memory and bind it to the menu control with the urls that you desire. You could aslo dynamically create the menu in your code behind appending hte items based on some criter that you set either in your DB or in XML.

Middletone