CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/3/2008 5:09:40 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 29 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
JP2
Asp.Net User
Unorganized Menu1/3/2008 5:09:40 PM

0/0

I used securityTriming on my web and here is my menu layout. For example I have

Home

     Page A

     Page B

Freight

     Page C

     Page D

Material

     Page E

Contact Us

     Page F

And let say I allow Rose to see the entire web pages except for Freight menu, I will get a gap between Home and Material menu. Like this

Home

     Page A

     Page B

 

 

Material

     Page E

Contact Us

     Page F

How do I fix this issue? Please help,

Rinze
Asp.Net User
Re: Unorganized Menu1/3/2008 7:43:36 PM

0/0

can you post the output of the rendered menu?


Hope this helps !
Rinze

---------
please select 'mark as answer' if this post helped you!
Dave Sussman
Asp.Net User
Re: Unorganized Menu1/6/2008 2:33:38 PM

0/0

If you're using the standard site map and menu controls, then you shouldn't see any gaps. This is because with trimming in place, the menu never even receives the nodes that aren't to be shown - the site map provider doesn't expose them to the menu - so it won't leave gaps. What controls are you using to render the menu?

JP2
Asp.Net User
Re: Unorganized Menu1/10/2008 5:25:16 PM

0/0

Sorry all, I been busy with my personal life and did not get a chance to check the forum post.  Below is my web.sitemap and web.config files.  I don't know what I did wrong. 

Thank you all for the help,

 JP 

 

 

Web.sitemap File 

 

<?
xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

<siteMapNode url="" title ="" description="" roles="*">

 

<
siteMapNode url="Default.aspx" title="Home" description="Home">

<siteMapNode url="Home/AP_Directory.aspx" title="AP Directory" description="AP Directory" />

</siteMapNode>

 

<
siteMapNode url="" title="Not Payable" roles="NP" description="Not Payable">

<siteMapNode url="NP/Default4.aspx" title="Not Payable" description="Not Payable" />

</siteMapNode>

 

<
siteMapNode url="" title="Freight" roles="Freight" description="Freight">

<siteMapNode url="Freight/DailyVarianceFB.aspx" title="Daily Variance FB" description="Daily Variance FB" />

<siteMapNode url="" title="Page B" description="Page B" />

<siteMapNode url="" title="Page C" description="Page C" />

</siteMapNode>

 

<
siteMapNode url="" title="Material" roles="Material" description="Material">

<siteMapNode url="Material/Default2.aspx" title="Page A" description="Page A" />

<siteMapNode url="" title="Page B" description="Page B" />

<siteMapNode url="" title="Page C" description="Page C" />

</siteMapNode>

<siteMapNode url="" title="Admin" roles="Administrators" description="Administrator">

<siteMapNode url="Administrator/UserProfile.aspx" title="User Profile" description="User Profile" /></siteMapNode>

 

</
siteMapNode>

 

 

</siteMap>

Web.config file 

 

<?xml version="1.0"?><!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<
configuration>

<appSettings/>

<connectionStrings>

<add name="ASPNETDBConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"

providerName="System.Data.SqlClient" />

<add name="ASPNETDBConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=&quot;D:\AP Web System\login\App_Data\ASPNETDB.MDF&quot;;Integrated Security=True;Connect Timeout=30;User Instance=True"

providerName="System.Data.SqlClient" />

<add name="iadaccesConnectionString" connectionString="Data Source=dfa5;Initial Catalog=iadacces;Persist Security Info=True;User ID=dfve;Password=ddfd52;Max Pool Size=100;Connect Timeout=90"

providerName="System.Data.SqlClient" />

</connectionStrings>

<system.web>

 

<!--

-->

<siteMap defaultProvider="default">

<providers>

<clear />

<add name="default" type="System.Web.XmlSiteMapProvider" siteMapFile="web.sitemap"

securityTrimmingEnabled="true" />

</providers>

</siteMap>

 

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<roleManager enabled="true" />

<compilation debug="true" strict="false" explicit="true"/>

<pages>

<namespaces>

<clear/>

<add namespace="System"/>

<add namespace="System.Collections"/>

<add namespace="System.Collections.Specialized"/>

<add namespace="System.Configuration"/>

<add namespace="System.Text"/>

<add namespace="System.Text.RegularExpressions"/>

<add namespace="System.Web"/>

<add namespace="System.Web.Caching"/>

<add namespace="System.Web.SessionState"/>

<add namespace="System.Web.Security"/>

<add namespace="System.Web.Profile"/>

<add namespace="System.Web.UI"/>

<add namespace="System.Web.UI.WebControls"/>

<add namespace="System.Web.UI.WebControls.WebParts"/>

<add namespace="System.Web.UI.HtmlControls"/>

</namespaces>

</pages>

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authentication mode="Forms" />

<!--

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

-->

</system.web>

<system.net>

<mailSettings>

<smtp from="dfdf">

<network host="dfd" password="lflk" userName="rer" />

</smtp>

</mailSettings>

</system.net>

</configuration>

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Psychology of Menu Selection: Designing Cognitive Control at the Human/computer Interface Authors: Kent L. Norman, Pages: 350, Published: 1991
Windows XP for Dummies Authors: Andy Rathbone, Pages: 388, Published: 2001
Paths to Union Renewal: Canadian Experiences Authors: Pradeep Kumar, Christopher Robert Schenk, Pages: 336, Published: 2005
Who's Got the Power?: Transforming Health Systems for Women and Children Authors: UN Millennium Project, Lynn P. Freedman, Ron Waldman, UN Millennium Project Task Force on Child Health and Maternal Health, UN Millennium Project, Helen De Pinho, United Nations Development Programme, Mushtaque Chowdhury, Allan Rosenfield, Pages: 185, Published: 2005
VectorWorks 10 for Windows and Macintosh: Visual Quickstart Guide Authors: Tom Baer, Pages: 508, Published: 2003
Beyond Calculation: The Next Fifty Years of Computing Authors: Peter J. Denning, Robert M. Metcalfe, Pages: 313, Published: 1998
Trail Food: Drying and Cooking Food for Backpacking and Paddling Authors: Alan S. Kesselheim, Pages: 112, Published: 1998

Web:
Windows Vista Start Menu Program Groups Unorganized - How To Fix? I want to install programs on my new Windows Vista machine. I'm used to using Windows XP. I just discovered the whole "two program files folders" thingy.
Unemployment Level: South Oxford unorganized, ME, Maine; NSA Series Title: Unemployment Level: South Oxford unorganized, ME, Maine; NSA ... Advanced Menu: Save Series to Personal Workspace | CSV file ...
Spoono - CSS Tutorials - V4 Menu CSS If you've ever taken a peak at our source code, you'll notice that our navigation menu appears as a beautiful and incredibly simple unorganized list ( the UL ...
Untitled Document Return to Main Menu. Unorganized Territories. Piscataquis County has 17 towns and 2 plantations. The bulk of the County, approximately 3/4 of the total area ...
Restaurant Listings for Thunder Bay; Unorganized, ON - A | menuism Thunder Bay; Unorganized, ON restaurants reviews and menus on Menuism. Showing restaurants that start with 'A'.
Numeric Codes for the Identification of Cities, Townships ... The city, township and unorganized territory (CTU) codes that make up this ... unique identifying code for the City of Minneapolis is: 2705343000. Show menu ...
Apple - Support - Discussions - playlist lost, video unorganized ... playlist lost, video unorganized Posted: Mar 11, 2008 2:45 PM ... I checked a particular playlist in the music menu but it doesn't appear on the playlist ...
Happy Valley - East Oakland - Oakland, CA 94606 They have soooo many things to choose from on a largely unorganized menu, with some selections being so far off from "Chinese" fare (e.g spaghetti noodles? ...
Population Estimates 1990s Geographic Change Notes: North Dakota population estimates. Skip main navigation menu (ALT+9) ... North Central McLean unorganized territory, McLean County, area increased by addition of Poplar ...
Unorganized United FC CHAMPIONS Unorganized United FC has done it. UUFC defeated FOAM in the Championship on Wednesday 8-6 to earn their first indoor title. ...




Search This Site:










tree or menu features

master pages + request.form help pleaaaase!!!

get value from other contentplaceholder in masterpage

dynamically adding contents to contentplaceholder

theme css file + url rewriting = bug

menu's in vs 2005

firefox displays page correct - ms internet-explorer not ?!

site map file collapse or expand as default

master page and panel

css not applied when viewed in browser.

where is the grid layout

orientation issue with the asp navigation menu. please help!!!!!!!!!!!!!!!!!!!!!!

help ? masterpage changes ....or wrong all along ?

asp.net 2.0 treeview nodes centered, not left-aligned

how to cast a session sitemap to list?

sitemappath on master page, not display rootnode when on root page

adding a menu on the right click on a treenode

master page and dropdownlist

masterpage control code

set variable on page/use on master page

sitemappath control

skins that use external stylesheet vs in line styles

slightly more questions on themes / skins and css

seperator in horizontal menu

master pages and dropdownlist (c#)

right click ot treeview

menu in master page

master page not displaying properly

using imageurlfield with a sitemap

flickering listboxes

  Privacy | Contact Us
All Times Are GMT