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: 11/8/2007 11:37:55 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 10 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
minhpg
Asp.Net User
Menu Control with sitemap Problem?11/8/2007 11:37:55 AM

0/0

I use securityTrimming with sitemap, menu control, but when i set securityTrimmingEnabled="true" in sitemapprovider in web.config file, run my app then i can not see any menu items, if i don't set securityTrimmingEnabled="true" then menu items are displayed normaly from sitemap file.

i place menu control in masterpage.

How i fix it? Can you explain it to me?

thanks,

agriffard
Asp.Net User
Re: Menu Control with sitemap Problem?11/8/2007 12:07:03 PM

0/0

When you set securityTrimmingEnabled="true", the sitemap provider uses the access rules for the current website, directory or file.

May be, you are in a page that need a logged user or a specified role, for example if you have set this kind of authorization section :

<authorization>
<
deny users="?" />
</
authorization>

 


Antoine Griffard - MVP
http://www.wygwam.com
http://blogs.developpeur.org/tonio
Amanda Wang - M
Asp.Net User
Re: Menu Control with sitemap Problem?11/13/2007 6:26:18 AM

0/0

Hi,

Do you deny all the users in the web.config?

You only need to deny the anonymous users,

<authorization>
   <allow roles="Admin"/>
      <deny users="?"/>
  </authorization>

If these can not help you, could you please post your web.sitemap and the web.config here for futher help.

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Amazon.com Mashups Authors: Francis Shanahan, Pages: 379, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006

Web:
Designing Menu using Sitemap and asp menu control « Tech Dec 6, 2007 ... Then we can use asp menu control and point the DatasourceId to the ... the same of method of menu with sitemap data source. my problem is, ...
Menu Control with sitemap Problem? - ASP.NET Forums Menu Control with sitemap Problem? Last post 11-13-2007 1:26 AM by Amanda Wang - MSFT. 2 replies. Sort Posts: ...
CodeProject: Using Menu and Sitemap with Master page. Free source ... Although I have never used this menu control myself before, it seems to me that the menus use the sitemap nodes in the XML file as "identifiers". ...
asp:menu control and SiteMap, 'Selected' Item must match exact url ... May 22, 2008 ... And then every folder has a Default.aspx ... but the problem with this is that the sitemap, when connected to an ASP.NET Menu control ...
ASP.NET 2.0: Using the Menu Control Here we will take a look at two different ways to set up the Menu Control. One, with the default SiteMap provider using a standard Xml web. ...
Using the ASP.NET 2.0 Menu Control with Site Maps Before starting working on Menu control with Site Map data source, we should prepare our web site's Web.sitemap file. SiteMap is a new feature of ASP. ...
problem with menu control and sitemap - ASP.NET Forums Re: problem with menu control and sitemap. 01-11-2008, 7:51 AM. Contact ... Re: problem with menu control and sitemap. 01-11-2008, 11:51 AM ...
ASP.NET's Menu control offers another site map navigation option ... This site map file can easily be used to populate a Menu control. .... NET's MVC framework · Avoid problems when redirecting via drop-down lists ...
CodeProject: Populating Menu Control in ASP.NET 2.0 - using ... This is the preferred way of populating the Menu control. SiteMapDataSource allows you to read the information from the .sitemap file which is simply an XML ...
ASP.NET's Menu control offers another site map navigation option NET's Menu control offers another site map navigation option. Tags: programming. Report as spam Discussion - Post 1 of 4; Great wrapup: Tony - ...

Videos:
Adding Visual Studio 2008 Menu Control to A Website Navigation is very important in a website, in this video i'll be showing you how to easily add navigation to your website using the web.sitemap file ...




Search This Site:










redirect uri cannot contain newline characters

billing roles with start and end date - does this exist?

cache dotnetnuke 3

how to make a module searchable?

dataset does not store special characters

securing by page

c:\inetpub...

user registration, payment and groups

assembly problem

using both dreamweaver and visual studio?

dnn 3.0.12 site migration

tabstrip: i need it but i don't know how...

how to request information from a querystring in the global.asax?

how-to: reliably trap a web client disconnect!

call icallback in asp.net 2.0 button click

error msg related to state

access files for folder on network share

displaying colors in asp.net

can not get user name from httpcontext.current.user.identity.name

classifieds dnn 2.0 module under dnn2.xxx?

3.0.x issue - module scheduling granularity

embedded avi fails after one run

asp.net and saving files to network appliance

page.isvalid quetion

selecting nothing in listbox...

top buttons and mac safari

how do i add a web control to the standard toolbox

can i navigate to a view which is not a startview in the navigationgraph

textbox databind

web based web site administration tool

 
All Times Are GMT