CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/27/2007 7:53:34 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 8 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
zaidqais
Asp.Net User
Question About Roles Attribute4/27/2007 7:53:34 PM

0/0

Hi
I desgined a simple website consists's of 3 pages
1.aspx , 2.aspx , 3.aspx
and i tried to use roles attribute in Web.sitemap file
 

<siteMapNode url="3.aspx" title="3"  description="3" roles ="manager" />
 
3.aspx supposed not to be show in the menu control in 1.aspx page unless someone login and
be a member of manager role
but when i run the website 3.aspx is still shown in the menu control in 1.aspx page
and here is a copy of the website :

http://zaidqais.googlepages.com/CSharpWebsite.zip

Thank You

zaidqais
Asp.Net User
Re: Question About Roles Attribute4/28/2007 10:15:28 AM

0/0

Please Help me i need the solution very much Crying
Zhao Ji Ma - MS
Asp.Net User
Re: Question About Roles Attribute5/1/2007 2:18:59 AM

0/0

Hi,

1. Please define the URL authorization rules of the 3.aspx file in web.config.

2. Please enable the securityTrimmingEnabled attribute for the SiteMapProvider too.

This example might be helpful:
http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/navigation/SiteMapSecurity.src&file=sitemapsecurity_cs\web.config&lang=C%23+Source 


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
User Stories Applied: For Agile Software Development Authors: Mike Cohn, Pages: 268, Published: 2004
Just XML Authors: John E. Simpson, Pages: 417, Published: 2001
Multimedial Communication Authors: Ernest W. B. Hess-Lüttich, Hess-Lüttich, Ernest W.B. (ed.), Pages: 0, Published: -1
Role Transitions in Organizational Life: An Identity-based Perspective Authors: Blake E. Ashforth, Pages: 353, Published: 2000
Information Systems Security: First International Conference, ICISS 2005, Kolkata, India, December 19-21, 2005 : Proceedings Authors: Sushil Jajodia, Chandan Mazumdar, Pages: 342, Published: 2005
Child, Adolescent and Family Development: The Australasian Experience Authors: Phillip T. Slee, Pages: 544, Published: 2002
Webmaster in a Nutshell: A Desktop Quick Reference Authors: Stephen Spainhour, Robert Eckstein, Pages: 561, Published: 2003
Oceanography and Marine Biology: An Annual Review Authors: R. N. Gibson, R. J. A. Atkinson, J. D. M. Gordon, Pages: 584, Published: 2005

Web:
XHTML Role Attribute Module The XHTML Role Attribute defined in this specification allows the author to annotate XML Languages with machine-extractable semantic information about the ...
XForms and Internet Applications: Using the role attribute to ... Aug 21, 2006 ... It's certainly a great suggestion, but it's also the kind of thing that is just so easy to do with the proposed role attribute, ...
The role attribute The role attribute defines the role the target topic plays in relationship with the current topic. For example, in a parent/child relationship, the role ...
role attribute pattern Resources | TechRepublic Apply the Role Attribute design pattern: This article originally appeared as ... pattern: I heard that infosys has changed its recruitment question pattern. ...
PostgreSQL: Documentation: Manuals: PostgreSQL 8.3: Role Attributes A role's attributes can be modified after creation with ALTER ROLE. ... If you have a question or need help, please see the faq, try a mailing list, ...
Re: Use the role attribute to select : msg#00005 (discovered through experimentation) > One question: the refpages above list the ... Next by Date: Re: Re: Use the role attribute to select , ...
XHTML Role Attribute Module The XHTML Role Attribute defined in this specification provides XML languages with the ability integrate a "role" attribute into any markup language based ...
[#TILES-206] roles attribute of tags and definitions only allows ... The role attribute in tiles currently only allows one role to be defined. It's be nice to allow a comma-delimited list, consistent with the logic:present ...
cfloginuser attribute "roles" question cfloginuser attribute roles question was asked on the ColdFusion Talk (CF-Talk) mailing list.
XHTML2: ROLE attribute - Anne’s Weblog Apr 29, 2005 ... The next public working draft of XHTML 2 will include a ROLE attribute. I read that on a public W3C mailing list when I was reading the ...

Videos:
Lecture Sixth - The Role of Sacrifice in Building the Faith Did you know that the Lectures on Faith were published in the forepart of the Doctrine and Covenants in all editions from 1835 until 1921? Although t...
Lecture Third - The Attributes of God - Part 1 Did you know that the Lectures on Faith were published in the forepart of the Doctrine and Covenants in all editions from 1835 until 1921? Although t...
JAVAWUG BOF XV Part II : "JSF Security" by Duncan Mills, Oracle This is a video capture of the Java Web User Group (JAVAWUG.com) birds-of-a-feather presentation that took place on Friday 3rd February 2006 at the O...
WYD 2008 - PierGiorgio Frassati: Role Model for all the worl For youth, role models are important, that is why Blessed PierGiorgio Frassati has been a key player at the last number of World Youth Days. But this...
Fancys Vindacated Do not view this content if your pregnant, homophobic or admire Honks, Drews or Paco's great attributes as a role model.
Lecture First - What is Faith? Did you know that the Lectures on Faith were published in the forepart of the Doctrine and Covenants in all editions from 1835 until 1921? Although t...
1st Job ! Book Release TV9 Coverage For Copies call: 9948078937 or 040-65195632 OBJECTIVE: The birth of this book emerged from the experiences of my Corporate need to hire competent fr...
Muhammad , The Most Influential Man in History The 100: A Ranking of the Most Influential Persons in History is a 1978 book by Michael H. Hart. It is a ranking of the 100 people who most influence...
Motion Caption Update with Dave Blackburn at NAB 07 Aaah, the dream of the dancer, to perform effortlessly with the perfect body, in perfect form to an adoring audience. Or that of a future actor, adep...
Fighting Pistol Trailer FINALLY a DVD training system that trains the brain before the body! The root word to "gunfight" isn't "gun". It is "FIGHT"! This is the DVD adapta...




Search This Site:










adverageous forums 1.0

save status in composite control

account login generates error only with admin and host logins

master page layout issue

overlay / zindex issue with menu and form controls

any problem in using panel around the whole page?

container's css not linked on some pages/portals

connecting to outlook

getting login to work on remote server

bug with updating membership?

show or hide layers with mouse hover... help!

theme controlling loaded css files

add an alternative method of printing to your portal. a stylsheet that will be applied to the page when user prints the page

tabs wont move up/down

adding new page

other menus

footer display

sharing member data with timetracker starter kit application for single signon

vstudio03 upg = 30$

trouble changing portal banner

attachment security

cskdotnet - db install problems

please help

hiding resx files in visual studio 2005

sitemap per user

unable to send e-mail using cdont.dll in asp.net

how to handle master page button event in content page?

loginview + findcontrol not working for me.

changing default browser in vs 2005

network solutions and asp.net 2.0

 
All Times Are GMT