Web Forms :: How To Create A Menu
Dec 21, 2010Can 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 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 RepliesHow can I create a menu using dyanmic xml ?
View 5 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]....
I am new to asp.net .. I want to create menu in a page ..
Can I find examples of asp menu
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 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,
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 ?
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
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?
When I login to application, i want Button ad a Header menu like (Admin,Quote....2 button should visible).
If Login User is Admin/Quote then Click on that Button it should show all its child nodes must be as the button horizontally.
[Code]....
Even i have to write the code in the Code Behind of Site.Master. I think i need Repeter's OnItemCommand event but it does not run that methods and how can i filter the sitemap with Role in this Method? I can not able to Find the control in the Code Behind.. Is it possible to show these type of custom menus using SiteMap with Role Filteration?
Can I read from a dataset and create a hierarchical horizontal menu?
View 4 RepliesI need to create 2 level deep menu. The first level is static and horizontal. And i need the second dynamic level to be horizontal. Is there any oprion for dynamic menu item or it can be done by css somehow?
View 6 RepliesI want to automatically create a menu for all aspx file in a web folder using the asp:Menu.
Is there a way to automatically generate the MenuItems for each aspx file when the page loads? The directory is "~/Refernce".
<asp:Menu ID="menu"
runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="vertical">
<Items>
<asp:MenuItem NavigateUrl="~/Reference/Default.aspx" Text="Home" />
<asp:MenuItem NavigateUrl="~/Reference/HTML.aspx" Text="Reference" />
</Items>
</asp:Menu>
I have a menu of products which are created at runtime from the database and populated into menu control.
But i need to also create a sitemap and display when the relevant menu or submenu item is selected
I am unable to create dynamic menu from database. I have made two tables for this work.First table is Menu which stores menu id and its relevant name.
MId Text
------------
1 File
2 Edit
3 View
..
..
Second table is subMenu which stores submenus which will be linked to the menu table with menu id.
SId Text MID
-------------------
1 New 1
2 Open 1
3 Save 1
4 Cut 2
5 Copy 2
the menu should be created dynamically from the database, each menu should be displayed in single row
when we click on a menu the submenus are displayed in rows that in expand & contrast form
how to design & develope this page
Create Dynamic Menu and SubMenu and Role Wise in asp.net c# ....
View 1 RepliesI am attempting to create a vertical menu (currently using the asp.menu control with membership) on 1 masterpage. This all works great, but I want the submenu items to display statically under the main topic AFTER the page is posted back. Meaning, if I have main items A,B, and C, when I click on item B, it goes to the B page and shows all the subtopics under B. The subtopics should be statically displayed and phsically located under the selected topic. I have tried the css friendly adapters, jquery examples, accordion samples, and a jquery tree menu. None worked very good, and I don't know enough javascript/jquery to create it by hand. The closest I could get was the jquery treeview, but it didn''t work very well. This has been a frustrating search and I have learned how difficult custom menu navigation is in asp.net.
View 2 Replies