Menu control does not allow to do that.. if you have navigate URL then the Click event will not fire.. not only menu control but also tree view.
so you have options.
(1) Develop menu control in side the user control and drag and drop to the pages you want. if you use master page it needs drag to master page only.
use
<asp:MenuItem Text="Product" Value="~/Default.aspx">
and text put in to the session as
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
{
string _strClickedMainMenuName = e.Item.Text;
HttpContext.Current.Session.Add("mainItem",_strClickedMainMenuName );
Response.Redirect(strRedirectionURL);
}
master page or pages which drag drop user control that has menu.(it is not nessassy for keep the menu user control in redirection pages as well)
In page load event
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (HttpContext.Current.Session["mainItem"] != null)
{
Page.Title = HttpContext.Current.Session["mainItem"].ToString();
}
}
}
Hope this will help. do not be hesitate to mark if this helps...