Web Forms :: How To Display The Menus & Sub Menus Dynamically
Sep 24, 2010
in one of my page i need to display the menus & sub menus dynamically,for this i have a menu table called colleges & one more table called branchs 1] ABC
Science ArtsCommarce2] EFG mathszoology historylike thissome times the menus are 3some times they may be 4,5,6 may randommy incresesfor this i have the two table one is menu & sub-menus
View 2 Replies
Similar Messages:
Feb 27, 2011
am new for learning asp.net using c
View 2 Replies
Jun 16, 2010
some samples for designing the menus and sub menus in html with styles and hover etc
View 8 Replies
Mar 19, 2010
I have a menus in master page.I took treeview to display the menus.But i want to make visible and invisible of some main menus according to my requirement . when i login into the page form.aspx menus will appear. But when i click the submit button then those menus will disappear and some more new menus will appear.
View 3 Replies
Feb 24, 2010
How can we display the menu alone in the menu control and submenu with the breadcrumb like style.
View 1 Replies
Sep 2, 2010
Im creating a web application in asp.net visual studio 2008.. in my application, i have manually created a menu control.. since, the menus changes by needs, i wish to load it dynamically from sql table..simple application which loads a menu control dynamically and i can develop mine using those concepts.
View 1 Replies
Sep 27, 2010
I want to Display N-Heirarchical Menu using Dynamic Repeater Control along with CheckBoxes.
If Suppose i am having 3 level Menus i need to create 3 Repeaters Dynamically along with CheckBoxes beside of that sub Menus
View 3 Replies
Sep 24, 2012
How to bind menus dynamically with database in asp.net.
View 1 Replies
Jun 28, 2010
I'm doing some research on security and sitemaps in ASP.net and am unfortunately running short on time. I have not worked too much with ASP.net security so I'm not completely sure if I'm heading in the right direction.
Here is my problem:
I have a public website (i.e. on the internet) that will allow any user to sign up to. The website will be developed using ASP.net webforms. These users may create other users and assign these users different roles.
Different roles have different restrictions and the menu is displayed appropriately. For example, a user acting as an administrator can see all menu options. Whereas a limited user will only see some of these menu items.
There needs to be the ability for users on our end to modify what pages certain roles can access. For example, if Role1 can do task X, we would like to be able at some point modify Role1 to no longer do task X. This would be done using an application built in-house.
User types (roles) are to be saved in the database. User permissions (what pages each type can have access to) are also to be saved saved in the database.
Here is something I am thinking of doing:
Implement the authorization and authentication set up built in to ASP.net using the web.config fileUse Sitemaps to dynamically create menus/breadcrumbs from the database
I believe it is possible to do the second one using custom providers (please correct me if I'm wrong). But I am not entirely sure if it's possible to configure the web.config file dynamically.
I suppose this is really more of a yes/no answer but I would just like to make sure I'm not going in the wrong direction. I will be using VS2008 and .net 3.5 framework.
View 1 Replies
May 7, 2015
I am following the article [URL] .....
but I am not able to see my links horizontally
Here is my site map file
<?xml version="1.0" encoding="utf-8"?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/default.aspx"
title="Home"
description=""
roles="*">
[Code] ....
The access to these links are controlled by membership provider.
Home is accessed by everyone. "Member Home" and MyBiz are accessed when the user is logged in.
The menu should have only Home displayed and when the user is logged in then it should displaym Home, MemberHome, MyBiz and sub links.
Here is the code for menu control
<asp:Menu ID="HorizontalMenuId" runat="server"
DataSourceID="SiteMapDataSource1" Orientation="Horizontal">
<LevelMenuItemStyles>
<asp:MenuItemStyle CssClass="main_menu" />
<asp:MenuItemStyle CssClass="level_menu" />
</LevelMenuItemStyles>
</asp:Menu>
View 1 Replies
Feb 23, 2010
I am trying to develop a web application. I got a free CSS template from the net that has tabs on it. I want to apply menu on each tab. Each menu has different set of sitemap structure.For example, in "Business" tab, I want to have the following sitemap structure:
[Code]....
In another tab, say "Health", I want to have:
[Code]....
View 2 Replies
Mar 31, 2010
my menü's sub-menus are not visible in ie. but in FİREfox and chrome is visible
View 4 Replies
May 28, 2010
Is there a way to have 2 different menus that have their items populate from 2 separate sitemap datasources?
Currently I have one menu that is populating correctly from one sitemap. I would like to remove some items from this menu and have them in another menu positioned somewhere else on my page. How can I make this second menu populate these items from a seperate datasource?
View 4 Replies
Jun 25, 2010
I have created a hortizonal NavBar the problem is that when viewing the page with NavBar in IE the the drop down sub menues appears as a white rectangle.
View 3 Replies
Sep 8, 2010
I would like to integrate few menus of my website with outlook, how can i achieve it.
View 1 Replies
Jan 3, 2011
want to study in depth about menus & bread crumbs using asp.ne
View 2 Replies
Oct 25, 2010
How can I implement role based security that would show the admin tab if the user was logged in as a admin by using (ul-li) like the below code as a simple example. I do not want to use the menu control is this possible ?
<ul>
<li><a href="#">Services</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Admin</a></li>
</ul>
View 3 Replies
Apr 30, 2010
I need to create 2 cascading dropdown menus for a website. I am really new to ASP so don't understand a lot of it yet.. now is that the website pulls the list items from a SQL database and I don't want to use this method. I need to use either JavaScript or just hard code the items. Here are the directions for what I need to do:
Drop down list box for selecting a state (populate it with names of five states)
View 7 Replies
Apr 1, 2010
I have a masterpage that contains all my dropdown menu controls. The 2 largest browser hits on my site are IE and Firefox (in that order). I just recently updated to the latest version of Firefox and now... my dropdown menus no longer appear with Firefox but still do with IE.
There is nothing strange going on with my masterpage and it used to work fine in both IE and Firefox. Not too sure what is going on and can't seem to find anyone else who has posted on this subject.
View 5 Replies
Dec 9, 2010
I have a page, program.aspx. Users with different roles have a different URL.
e.g., [URL] [URL]
I also used URL rewrite to rewrite the URLs, so users will see the following URLs from the browser
[Code]....
I defined the following access rules for the above pages.
[Code]....
The problem is when the admin users access the pages, they still have access to supervisorprogram.aspx. Vice versa for the supervisor users.
View 3 Replies
Jan 12, 2010
I am running into the problem described in http://support.microsoft.com/kb/962351/.The problem is that pop-out menus are not displayed in IE8 Standards mode (they show up as blank).There is a hotfix available. Unfortunately,my web hosting company (as many) do not install hotfixes, but rather wait for a fully tested and official patch.I am trying to find out:If and when this hotfix will be rolled into an official patch What some alternatives to this hotfix might be, to be sure that I am covering all the bases.
View 3 Replies
Jan 4, 2010
i want to display my navigation in 2 horizontal menus, one on the top, the other on the bottom. I also want to use sitemap since it ease the maintenance of links. Is there a simple way to achieve this ? (I am not talking about Parent child, say i want to display the first 8 nodes in up menu and the left in the bottom menu.)
View 5 Replies
Oct 18, 2010
I have an ASP.Net 3.5 application with a menu. The menu is set to an xmlDataSource. The xmlDataSource is given the menus for the user as a dataset. The xmlDataSource uses an xsl transform file.Here is the code behind:
[Code]....
My problem is, when another user logs into the system, he/she gets the previous user's menus. This is based on time somehow, because if you wait long enough after another user has left a page, you'll get the proper menus.Could it have something to do with page caching? Is there something I'm missing with menus?
View 1 Replies
Oct 23, 2010
On my website I have implemented an asp:menu control which works fine in Firefox. Unfortunately, for some reason, the bottom border is missing in submenues in IE. You can see the problem here: [URL] Do you have any suggestions on how to solve the problem?
View 5 Replies
Jan 17, 2010
I've come to the place where I need to add side bar menus to my page depending on userclass. I've set up the place-holders, but I was wondering what's the better way to add these.
View 3 Replies