sitemapprovider
Setting role in SiteMapNode Sub Node
These Site Map Node is in Web.Config <siteMapNode title=\"Hotel Setup\" roles=\"Administrator,Hotel Admin\">[详细]
2023-04-07 18:44 分类:问答MVC SiteMap Provider - can anybody post a sample that works with dynamic nodes?
It is a very simple scenario: public class StockItemController : Controller { public ActionResult Index(int categoryId)[详细]
2023-03-31 02:36 分类:问答MVC sitemap provider
In mvc sitemap provider I want to show a list menu\'s based on the id of the logged in user.I was thinnking about dynamicnodeprovider but it is working for the first request it self that is before log[详细]
2023-03-21 13:52 分类:问答MVC Sitemap Provider -- Maintaining URL parameters in breadcrumb trail
I\'m using the MvcSiteMapProvider from http://mvcsitemap.codeplex.com/ to create a breadcrumb trail for my project. I have some URLs that need an ID to be passed to present information for the appropr[详细]
2023-03-13 16:12 分类:问答Different asp:menu on a user basis
I have a oracle database which stores menu and user data, for a local Intranet. The data includes which usesr have access to which pages.[详细]
2023-02-24 04:56 分类:问答Setting the page's title and sitemap node to the same text with ASP.NET MVC Sitemap Provider
I\'m using ASP.NET MVC 3 and ASP.NET MVC Sitemap Provider.I would like to set the view\'s title and the sitemap node to the same text.How would I do this?Where would it be done and are there any sampl[详细]
2023-02-18 22:33 分类:问答Ignoring specific query string parameters in custom sitemapprovider
I’ve written my own staticsitemapprovider which builds a dynamic site map. The problem I have is tha开发者_Python百科t sometimes pages will have additional parameters in the query string which I need[详细]
2023-01-24 22:36 分类:问答Configuring ASP.NET Site Map URL Domain
I have a site map configured as such: <siteMap xmlns=\"http://schemas.microsoft.com/AspNet/SiteMap-File-1.0\" >[详细]
2023-01-01 19:44 分类:问答How does XmlSiteMapProvider check user to be in specified role?
I roll my own SiteMapProvider inheriting System.Web.XmlSiteMapProvider. I want to override logic of checking user to be in a role specified in siteMapNode\'s property roles:[详细]
2022-12-31 21:24 分类:问答How does IPrincipal gets its roles?
I need to get know how SiteMapProvider.IsAccessibleToUser() works. Built-in XmlSiteMapProvider calls HttpContext.User.IsInRole() which uses System.Security.Principal.GenericPrincipal in case of forms[详细]
2022-12-31 14:38 分类:问答