I have an asp:Menu control on a master page that is reading its menu items from a web.sitemap file via a SiteMapDataSource.When I click on a menu, the new page loads which uses the same master page, but the ASP:Menu vanishes. I have put some plain text next to the menu for testing, this appears on the new page but the menu does not.Does anyone know how to get the asp:Menu to remain visible on the page?
Could not load file or assembly 'System.Windows, Version=22.214.171.124, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
c:ProductiveTeamsMedTegraPresentationMedTegraSLMedTegraSL.WebMainMaster.Master Line: 16 Assembly Load Trace: The following information can be to determine why the assembly 'System.Windows, Version=188.8.131.52, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.
On content page (Login.aspx), I got Uesr Type. For Admin type only, I need to show the above bold menu item. No problem for getting User Type as "Admin". Just problem is that, how to visible/in-visible or enabled/disabled above bold text menu item?
but I've tried everything I could think of and am at the end of my rope. I've got a page (faithfamilychurch.com/v2aspx/Default.aspx) that I am trying to get the flyout menu and flyout quicklinks at the top to come out over the contentPage content. I've set the z-index of each to much higher values than the content page, but still nothing. I've tried the tactic of changing the contentPage z-index to -1, but there is some master page content that needs to appear behind the contentPlaceHolder. Code below.
I'm using this wdCalendar code I found to add a Google calendar like calendar to my application. It uses mostly JQuery to work. Anyways, I notice when I use a pull down menu from the master page, the content page is blocking it (see attached image).
So i want to create a simple menu but i'm just getting started so here is my thoughts.
2)Sitemap ok for menus and roles?
3)I'm testing a menu control with a SiteMapDataSource. Ok i have much problems but the no1 problem is that i want the tabs to go horizontal in the page and not vertical.
I thought i could change the sitemap but it only allows on sitemapnode. Here is a sitemap i have done long time ago and i used it. I don't know why i have set p.e. ?cat=usr, probably wrong?I don't get anything from a querystring.Ajnyway i thought i'll leave it so you may comment.
I recently stumbled upon this thread over at StackOverflow regarding the dynamic construction of a Master Page menu based on what roles a user is a part of. The original poster proposed a solution to his own problem, but rightfully noted that it was kludgey in that it didn't scale, but also that it violated the Separation of Concerns (SoC) model of MVC.
SO I download jqcalendar to include in my application as a starting point for a calendar (it is basically like Google calendar using JQuery/ASP.NET). I notice however when I click on a menu item on the master page, it shows up behind the content on the content page, as you can see here looking at the Maintenance menu:
I figure it has something to do with how the JQuery is rendering the page, but honestly not sure how to fix it. Here is the Jquery and HTML for the page:
I'm working on a web application that uses ASP.NET 3.5 and C#. Structurally, I have a master page with a menu control on it. The control serves as my navigation, and it gets its items from a SiteMapDataSource control and a corresponding Web.sitemap file.
The problem is that some styles do not render properly when you specify the CssClass property. More specifically, the selected and hover styles don't respond to css styles. Consider the code below:
Is there a convenient way to change the style of a menu item in an MVC master page? I want to show which menu item is currently being active. So far, the only way I could think of was a brute force way, to duplicate the menu in multiple master pages, and mark one as selected:
I'm trying to create an ASP.NET MVC master page so the site navigation on it will look like this:
Main Menu:Home | About | News Sub Menu: Home_Page1 | Home_Page2
The Sub Menu section should always show sub-menu for the currently selected Main Menu page (on the example above 'Home' page is selected) unless a user hovers the mouse on another Main Menu item (then it shows that item's sub-menu instead).
I am Unable to customize a menu bar in the master page, so that it is at the middle, and extending to width of the page, like in [URL]. But when i customized a drop down menu bar and trying to align, i am unable to figure out how to do it such that it appears as the above example, find code below. I uploaded my code onto this link, its all in txt file, so take a look at it as when i try to post the code here, it is automatically turning it into a webpage.
How do i call the OnLoadFun method so the i is being called onload time. i tried putting window.onload=OnLoadFun surrounded by script tag within the PlaceHolderMain content section.
On page load is there a way to enumerate all the nest user controls for that specific page load?
I'd like to be able to enumerate all the user controls that implement an interface, and call the interface method for the controls before asp.net passes control to thier page_load events.
The problem is from the master page level, any page in the app could be loading, and each of them could have any random user control, and I need the type reference to determine if they implement the interface, and to call the method.