Web Forms :: Create Menu In A Page?
Nov 21, 2010I am new to asp.net .. I want to create menu in a page ..
Can I find examples of asp menu
I am new to asp.net .. I want to create menu in a page ..
Can I find examples of asp menu
i want to create menus on left side
in a way that when i click on one Menu then SubMenus Should be Opened under main menu and there shoud be a Symbol of + in Front of Main Menu when not Explored and - when Explored,
how to create a Quick Menu in buttom of the page?
View 7 Repliesi tried to add 2 menu server control on the same page but it was positioned one below the other instead of next to each other...
each of the menu will have several child nodes but it will be display like a drop down list
CarMakers | CarModels | RegistrationNumber
Citroen C3 XPTO
Renault Clio ABCD
This is how i want the menu to look like
but I only managed to add them like this:
CarMakers
Citroen
Renault
CarModels
C3
Clio
So i want to create a simple menu but i'm just getting started so here is my thoughts.
1)I've seen a lot of javascript based menus.Can i incorporate one of them inside a server control?Also can i use roles to determine who views what page?With sitemap?
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.
[code]....
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.
[code].....
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?
View 4 RepliesI'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).
tell me the efficient way to create index main page with banner, menu bar, navigator bar & login .
View 1 RepliesWe have to develop an application which has a Vertical left pane menu control which displays all the web pages (A,B,C say). Now if user is in page A and filled some data and clicks on menu control to go to page B, all the data in page A needs to be saved. Also if all the required field in page A are not filled and user navigated to page B, there will be one ! sign after the menu so that user can understand that there some some more fields need to be filled up.
We are planning to place the menu control in the Mater page. Please give me some direction to do this. My question is:
1. If user change menu (In Master Page), how should we save data?
2. How should we display the ! in the menu control?
I am using frames in my webpage.in one of the frames i have a menu control whose items are database driven.when click on the menu item, i want another page to be displayed in other frame.
now i want to pass the the selected menu item text to the other page using session variable which is in the menu item click event method.but the thing is when i click on the menu item, the click event is not firing.
is there any better way to pass the selected menu item text to the other page?
How can I create a menu using dyanmic xml ?
View 5 RepliesCan I create a menu out of any standard asp.net controls? I would like a text menu with simple bar separaters and a color change when clicked or hovered over.
View 9 RepliesI have an issue when i try to create a menu on the fly, I'm using a MasterPage with a login page, my authentication is across LDAP object, the main idea is create a menu based on the roles assigned to the user's, so..it depends of the the menu is created...
See the code below:
<membership defaultProvider="User">
<providers>
<clear/>
<add name="User"
type="User"
connectionStringName="SecurityAccess"
[Code]....
Iam using masterpage and i want to use navigation menu ,but i don't want to use sitemap concept
how to work with navigation menu and assign the pages in navigation menu in master page
How to center the menuitems and highlight the selected menuitem in menu control in asp.net?
<asp:Menu ID="maspageMenu" runat="server" BackColor="#2D2D30" Width="100%" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1.4em" Font-Strikeout="True" Font-Underline="True" ForeColor="#009933" Orientation="Horizontal" StaticSubMenuIndent="10px" BorderStyle="Groove">
<DynamicHoverStyle BackColor="#18624F" ForeColor="White" />
<DynamicMenuItemStyle BackColor="White" HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" BorderStyle="Double" />
[CODE]...
I am trying to create a menu list with the sub items by reading a xml file. I can create ul and li tag in code behind by reading the xml file elements and loop through it and create a html string but, I want to is there any other best way to do this?
My XML file look like below:
[Code]....
I have trying to create spacing between items in my menu control and I have been totally unable to create any item spacing. I have tried every property with the word spacing and still I am unable to space my menu items.
View 6 RepliesI need to create a menu with two columns of options. I was planning to create two panels side by side, each one have its own treeview. I have not been able to create the panels side by side. how to do this or is there a better way to accomplish this without the two panels?
View 2 Repliesi like to create a Menu Control From Scratch like this Menu:
http://www.microsoft.com/web/WebsiteSpark/Default.aspx, with regards to Javascript, you can skip it, i can manage.but on how to form it from Tables? round Corners using rounded Left and right images.
I want to create my menu, but something is not clear. I have:
-Default1.aspx
-Default2.aspx
-Web.sitemap
Default1.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Default2.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Web.sitemap:
<? xml version = "1.0" encoding = "utf-8"?>
<siteMap xmlns[URL]
<siteMapNode url="test" title="test" description="">
<siteMapNode url="" title="test" description="" />
<siteMapNode url="" title="" description="" />
</ siteMapNode>
</ sitemap>
Both the menu are the same. How to Default1.aspx create one menu, and how to create Default2.aspx second menu?
i want show menu as :
PCLaptop
MacIBMAsusAcer
Printer
HPCanon
So , how to create table in database ?
Is there a way to create a link to an asp.net web page in start menu--->program files? When that link is clicked that page gets opened in the browser.
View 4 RepliesI used datalist to create Menu.I want to show my Menu Items in separate tabs,for example when I click on A item in menu,I want A tab opens,and when I click on B item in menu B tab opens and also A tab remains open,and when I click on C item on menu C tab opens,and Atab & B tab also remain open, how should I write this code? here is my code:
[Code]....
I want to create a Horizontal menu, which will further contain dropdown menu.
View 6 RepliesI'm trying to create a gridview with a hover menu:
[Code]....
This works just fine, butttttttttt, I want the hover menu to have an extensive description of the record, namelly ID, message, links to uploaded files, print record button etc.
This doesen't work with the hover menu because when the mouse leaves the targetcontrolid the panel disapears.
So my question is:
Is there a way keep the panel hovering until you change to another record?