Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8370529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:56:04+00:00 2026-06-09T13:56:04+00:00

I have a masterpage and a menu with contentpages. If I go to content

  • 0

I have a masterpage and a menu with contentpages. If I go to content page A.aspx I want the menu item o have the css class selected. If I gi to B.aspx I want the B menu item inside the master page to appear seleced(have the cssClass=’seleced’). How can I implement this easily on an asp.net master page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:56:05+00:00Added an answer on June 9, 2026 at 1:56 pm

    After some research this doesn’t seem to be the easiest thing to accomplish unless your building your site as MS intended.

    If you have a web.sitemap(xml-)file then its really easy because you get that functionality by default.

    That means that you must add a datasource to your menu and use the sitemap-file as datasource. I don’t know how it works with other datasources but I really hope ASP.NET is smart enough to fix it.

    You could check this out for a walkthrough

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a master page with Header, Menu, Content and Footer panes in my
I have a master page, there's only one menu item and a contentplaceholder there.
I have a one master Page. I want to add 3 Menu items to
I have a master page menu which gets called across various content pages. How
I have a Masterpage and I want to bind a part of this master
I have an ASP.NET MVC site (Master Page + Content pages). On the master
I have a master page with a bunch of menu like: <ul id=ulMenu runat=server>
When a page that uses a master page doesn't have an asp:Content control for
I have the following menu in my masterpage: <ul id=menu class=lavaLampBottomStyle> <li> <%= Html.ActionLink(Employees,
Today I have a Masterpage that contains my menu... Each aspx use that masterpage...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.