VS 2010 - Modify Menu On Website
May 8, 2012
I'm adding a shopping cart and catalog to my website and so I want to modify the menu. I was going to add a second menu right below the present menu so I would have two horizontal lines of items in the two menus. I added a second menu and a second sitemap with a different name and a second SiteMapDataSource(SiteMapDataSource2). When I test, the second menu uses the first sitemap. I don't see how to get SiteMapDataSource2 to use my new sitemap which I have named WebP.sitemap.
I could add to the items in the first sitemap but I have 5 items displaying horizontally and I wanted to start a new line. I don't see how to format it if there is a way to get a maximum of 5 items on the top line and then a new line of horizontal items.
View 2 Replies
Similar Messages:
Jan 19, 2014
would like to ask about how can I insert a menu bar in a Web site that is created in visual studio 2010.
My toolbox seems to not have a menu tool inside.
Is there a way to drop a menu in my page like I drop a button?
View 2 Replies
Apr 3, 2010
Yesterday night I accidentally came across a dialog box that allowed me to modify the properties of the Menu navigation control. I could choose an Orientation of Horizontal or Vertical, among other properties. It was not done through the typical Properties window. I am using VS2005. Unfortunately, I cannot recall how to call up that dialog box again.
This is really bugging me 'cause I know that I saw it.
View 4 Replies
Jan 28, 2010
i'm working with asp.net visual studio 2008 c#i'm using Menu and i added items . the first item has like sub-items ...now when i run the website, the Menu wont open the sub-items menu ... this is the code :
<li style="direction: rtl"> <asp:Menu ID="Menu2" runat="server" BackColor="WhiteSmoke" BorderColor="White" ForeColor="#6699FF" Font-Bold="True" Height="361px" Style="left: 2px; position: relative; top: -9px; background-color: #ffffff" Width="194px"> <Items> <asp:MenuItem
NavigateUrl="~/CourseSignUp.aspx" Text="קורסי גלישה" Value="קורסי גלישה"> <asp:MenuItem Text="קורס ילדים עד גיל 18" Value="קורס ילדים עד גיל 18"> <asp:MenuItem Text="קורסים בקיץ" Value="קורסים בקיץ" NavigateUrl="~/CourseSignUp.aspx"></asp:MenuItem> <asp:MenuItem Text="קורס ימי שישי" Value="קורס ימי שישי"></asp:MenuItem> <asp:MenuItem Text="קורסים בחגים" Value="קורסים בחגים"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="קורס מבוגרים" Value="קורס מבוגרים"> <asp:MenuItem Text="קורס ימי שישי" Value="קורס ימי שישי"></asp:MenuItem> </asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="שיעורים פרטיים" Value="New Item"> </asp:MenuItem> <asp:MenuItem NavigateUrl="~/Rents.aspx" Text="השכרות" Value="Rents"></asp:MenuItem> <asp:MenuItem Text="מידע לגולש המתחיל" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="לי קים" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="תחזיות" Value="New Item" NavigateUrl="~/Forecasts.aspx"></asp:MenuItem> <asp:MenuItem Text="מאמרים" Value="New Item"></asp:MenuItem> <asp:MenuItem Text="הסטורית גלישה" Value="New Item"></asp:MenuItem> </Items> </asp:Menu> </li>
View 3 Replies
Feb 28, 2011
i have a project that is developed in asp.net 1.1. But i have vs 2010 installed...can i modify,debug and deploy from vs 2010.
View 1 Replies
Sep 26, 2010
Im having an issue when I create a new ASP.NET Web Application within Visual Studio 2010, this creates a web.config configured to use SQLEXPRESS. The default web.config that VisualStudio generates for New Web Application Projects still points to the SQLServerExpress Database which I had previously removed! The only instance that I have now is SQL Server 2008 R2 Developer. The web.config that is created along with other files for the for New Web Application Projects template:
[Code]....
The question is how can I change this web.config thats created with the ASP.NET Web Project template automatically from Visual Studio 2010? I can go in and modify the web.config by hand obviously. It doesnt make sense to have the web.config automatically created this way whereby the connectionstrings point to SQLServer Express that does not exist. I did in stall Visual Studio 2010 which included SQLServerExpress, but that I later removed. Now is VisualStudio always going to create web.config's pointing to SQLServer Express?
View 3 Replies
Feb 6, 2011
is it possible to modify paypal sandbox test store name and image logo when customer is redirected to the paypal site. I am using express checkout workflow.
View 1 Replies
Mar 10, 2010
I have a website that i did some time ago now they request some new features and i did some changes in some javascript files, but when i publish the clients that use the IE have problems with cache so in they browser they have old version of javascript. How can i clear the client cache so when they visit website they use latest javascript files that i modify.
View 1 Replies
Aug 26, 2010
I've a project written with visual studio 2008 + asp.net 3.5 that renders perfecly also on safari browser.
I converted project to VS 2010 (without upgrading FW to 4.0, but manteining 3.5).
Well, locally using safari it renders perfectly, but on server (on server is installed only FW 3.5) it does not render correctly.
I've to said that in BrowserFile.broser i've:
<browsers>
<browser id="NewBrowser" parentID="Mozilla">
<identification>
<userAgent match="Unique User Agent Regular Expression" />
</identification>
<capture>
<userAgent match="NewBrowser (?'version'd+.d+)" />
</capture>
<capabilities>
<capability name="browser" value="My New Browser" />
<capability name="version" value="${version}" />
</capabilities>
</browser>
<browser refID="Mozilla">
<capabilities>
<capability name="xml" value="true" />
</capabilities>
</browser>
<browser refID="safari1plus">
<controlAdapters>
<adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />
</controlAdapters>
</browser>
</browsers>
i've also tried to delete safari section, but on server is still not working.
View 1 Replies
Sep 3, 2011
When I began my first ASP.NET project, I didn't know about Masterpages, which was a pain. Because I had to manually change each and every link on all of my web pages. This was all mainly for the top menu and side menus.
But now that I'm using a master page, I think it's going to be much easier. But, I'm running into an issue.
When the user loads default.aspx, they see the following on the top menu.
Which is how I want it. But, what if they click one of the links? Before, I just updated that code to make the button of that page the active one. But, if they're all inheriting the same page, how do I commit this changes? I don't want to omit that part and manually change it on each page, because that would beat the entire purpose of doing this.
I also don't want to create another master page for each link. That would also beat the purpose.
View 7 Replies
Sep 23, 2010
played w/ visual web developer 2010 and liked the template that i was given by creating a new project using the "asp.net web application visual basic" However my company is using visual studio 2008 and we are not upgrading anytime soon. So i'm trying to remake that template in visual web developer 2008. I've got 90% of it transfered and working, the styles and master.site and all work, except the menu. It's like the CSS isn't carying over right, the drop downs work on mouse over but I don't have the nice puffy buttons that change background color when i mouse over. I've dug though the css and asp code and can't find anything thats not linking up. Does anyone have any idea how to get this last 10% figured out?
<div class="clear hideSkiplink">
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
<Items>
<asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/>
<asp:MenuItem Text="Obituaries" Value="Obituaries">
<asp:MenuItem Text="Recent" Value="Recent"></asp:MenuItem>
View 2 Replies
Oct 30, 2010
Had two questions about the ASP.NET menu control.
1) I have a menu control which is using a SiteMapDataSource. This is bound to a .sitemap file. I have the orientation property set to horizontal, but for some strange reason it still displays vertical. I can't for the life of me figure out why it's doing this. Am I doing something wrong here?
2) Is there a way to not display the root (Home) directory on my menu control? I only want to show Customer Support, Technician Support, Administration, and Site Map on the control.
[code]....
View 11 Replies
Mar 25, 2011
I have a menu control which is based on a sitemap as below.
However whilst the security aspect is working i.e. users cannot access a page without being in the correct role the menu does not seem to hide any of the menu items.
I really want users only to see the help menu item before they log in, then after this point they should see all items unless they are External in which case the Uploads and Admin Items should be hidden.
Is this not possible or have I set up my sitemap wrong?
If I remove roles="*" from the first node no menu items are visible at all even after login?
[Code]....
View 9 Replies
Dec 18, 2010
I recently converted a VS 2008 project to 2010 and without any provocation or warning, the later version very rudely scrunched together the nice menu I had along the top of the page, like this:In other words, the red menu at the top used to be distributed evenly across the page. I use the SiteMapDataSource and Menu control for the menu. Any ideas why this occurred and how to fix it?
View 3 Replies
Aug 15, 2012
I have an application including an Asp:menu. This renders perfectly in both IE and Firefox, see screenshot gf1.jpg.
Running in Chrome the rendering is bad. There is added wide space in the top menu, so the area is much wider, and thereby not correct. See gf2.jpg.
I have tried using this workaround found by surfing, but it is still the same. Can I add some additional code, that will prevent this?
Code:
If Request.UserAgent.IndexOf("Chrome") > 0 Then
If Request.Browser.Adapters.Count > 0 Then
Request.Browser.Adapters.Clear()
Response.Redirect(Page.Request.Url.AbsoluteUri)
End If
End If
I want it to be displayed equally in IE, Firefox and Chrome....
View 2 Replies
Oct 29, 2010
I have created a basic horizontal menu in MVWD 2010 which works when I debug it on my own machine. But as soon as I upload to a ASP.net 3.5 sever online, the dynamic aspect doesnt work. Are there some major differences in frameowrk 3.5 to 4?
View 3 Replies
Apr 20, 2010
I have a trial version of VS2010 and created a simple out of the box ASP .Net web application. I have been playing around with the css file for the project and have yet to figure out how to effect the menu tabs.
View 2 Replies
Dec 27, 2010
i havent uninstalled Visual studio 2010 .... for some requirements i had to repair my visual studio 2010 installation... now after repairing or reinstalling (not uninstalling and then installing, i reinstalled from the visual studio installation options) the visual studio 2010 i noticed that the asp.net Mvc template has vanished ... i tried to repair/ reinstall again but somehow it doesnt come up ... the template is not reflected into the visual studio new projects menu... as a result i am not able to load any of the mvc projects either ....
is there any possible way apart from uninstalling /repairing or reinstalling the visual studio i can get back my template again ? into my visual studio.... like wise somewhat kinda manual customization or like that ?
View 3 Replies
Oct 14, 2011
Looking to open a separate windows when a page is selected from the menu.Here's the xml code using taget=_blank...but it's not working.
Code:
<MENU text="Help" url ="">
<SubMenu text="About" url="About.asx" target="_blank"></submenu>
</Menu>
View 5 Replies
May 11, 2010
I started working on a website using 2010 Express. However, the hosting company that I am using hasn't fully implemented .NET 4.0. I'm wondering if there is a way that I can save my website for compatability with 2008 express. Then I can finish and publis using 2008 Express.
View 1 Replies
Jun 22, 2010
I tried using the the New ASP.NET Default Web Template in Visual Studio 2010 but one issue I'm encountering is with the CSS selected menu item and read apost which stated that...
"This screenshot demonstrates some of the styling options provided by the CSS, including the style for the selected About menu item"...In the screenshot the "About Us" menu item is highlighted but the page's content is the "Home" page content, not "About Us" page. My problem is...I can't get the selected item to be highlighted as in the screenshot even with fresh site using the built in template.
View 6 Replies
Feb 1, 2010
I use According for menu in my website. I have category and subcategory in menu and use linkbutton for each subcategory link but, I could not control click event on subcategory link. how to control click event and use this event on serverside.
View 4 Replies
Jan 14, 2010
In books and tutorials, I see a Website menu between View and Build. However, in my copy of VS 2008, I have a Project menu instead. I imagine that I didn't make an appropriate setting for a web site developer the first time I opened VS. How do I change the configuration or what do I need to do to get the Website menu?
View 6 Replies
Oct 3, 2013
I want to implement menu section in my project like in your site aspforum.net ...
View 1 Replies
Feb 24, 2010
No one replied to my earlier request of hot to get MY code to work. So i thought i would ask it a different way. Can HoverMenuExtender be used to create a multilevel navigation menu system for a website? If so how? I have tried several ways to do this and keep running into the same brickwall of when hovering over the Second SubMenu the First SubMenu disapears. I have tried several can Menu systems but all seem to be lacking in versatility or cost WAY too much.
View 1 Replies