protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Story", "~/Story/Default.aspx", "Story"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that Story module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("PersonalLocations", "~/PersonalLocations/Default.aspx", "Personal Locations"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that PersonalLocations module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("$ModuleName$", "~/$ModuleFolderNameOnWebSite$/Default.aspx", "$ModuleName$"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that $ModuleName$ module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("TributePortalAdmin", "~/TributePortalAdmin/Default.aspx", "TributePortalAdmin"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that TributePortalAdmin module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("MessagingSystem", "~/MessagingSystem/Default.aspx", "MessagingSystem"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that MessagingSystem module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("PortalController", "~/PortalController/Default.aspx", "PortalController"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that PortalController module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Miscellaneous", "~/Miscellaneous/Default.aspx", "Miscellaneous"); siteMapBuilderService.AddNode(moduleNode); // TODO: register other site map nodes that Miscellaneous module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Products", "~/Products/Default.aspx", "Products"); SiteMapNodeInfo searchNode = new SiteMapNodeInfo("ProductSearch", "~/Products/ProductSearch.aspx", "Search"); siteMapBuilderService.AddNode(moduleNode); siteMapBuilderService.AddNode(searchNode, moduleNode); // TODO: register other site map nodes that Products module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleRootNode = new SiteMapNodeInfo("Customers", null, "Customers"); SiteMapNodeInfo customersSimpleViewNode = new SiteMapNodeInfo("CustomersSimpleView", "~/Customers/CustomersSimpleView.aspx", "Customers (simple)", "Shows simple usage patterns of the ObjectContainerDataSource control, including select/update/insert/delete operations with sorting and paging provided by the control"); SiteMapNodeInfo customersAdvancedViewNode = new SiteMapNodeInfo("CustomersAdvancedView", "~/Customers/CustomersAdvancedView.aspx", "Customers (advanced)", "Shows advanced usage patterns of the ObjectContainerDataSource control, including select/update/insert/delete operations and server-side sorting and paging"); siteMapBuilderService.AddNode(moduleRootNode); siteMapBuilderService.AddNode(customersSimpleViewNode, moduleRootNode); siteMapBuilderService.AddNode(customersAdvancedViewNode, moduleRootNode); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Home", "~/Default.aspx", "Home", "Home"); siteMapBuilderService.AddNode(moduleNode); siteMapBuilderService.RootNode.Url = "~/Default.aspx"; siteMapBuilderService.RootNode.Title = "$ApplicationNameArgument$"; // TODO: register other site map nodes for pages that belong to the website root }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Home", "~/Default.aspx", "Home", "Home"); siteMapBuilderService.AddNode(moduleNode); siteMapBuilderService.RootNode.Url = "~/Default.aspx"; siteMapBuilderService.RootNode.Title = "Locator"; SiteMapNodeInfo silverlightNode = new SiteMapNodeInfo("SL Client", "~/SilverlightClient.aspx", "SL Client", "The Silverlight Client"); siteMapBuilderService.AddNode(silverlightNode); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Audittrail", "~/Audittrail/Default.aspx", "Audittrail"); siteMapBuilderService.AddNode(moduleNode); //children SiteMapNodeInfo beheerThemasViewNode = new SiteMapNodeInfo("Overzicht", "~/Audittrail/Audittrail.aspx", "Overzicht"); siteMapBuilderService.AddNode(beheerThemasViewNode, moduleNode); // TODO: register other site map nodes that Audittrail module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Beheer", "~/Beheer/Default.aspx", "Beheer"); siteMapBuilderService.AddNode(moduleNode); //children SiteMapNodeInfo beheerThemasViewNode = new SiteMapNodeInfo("BeheerThemasView", "~/Beheer/Themas.aspx", "Thema Beheer"); siteMapBuilderService.AddNode(beheerThemasViewNode, moduleNode); SiteMapNodeInfo beheerCategrieViewNode = new SiteMapNodeInfo("CategorieView", "~/Beheer/Categorieen.aspx", "Categorie Beheer"); siteMapBuilderService.AddNode(beheerCategrieViewNode, moduleNode); // TODO: register other site map nodes that Beheer module might provide }
public void AddNode(SiteMapNodeInfo node, SiteMapNodeInfo parent, string authorizationRule, int preferredDisplayOrder) { throw new Exception("The method or operation is not implemented."); }
public void AddNode(SiteMapNodeInfo node, string authorizationRule) { throw new Exception("The method or operation is not implemented."); }
public void AddNode(SiteMapNodeInfo node, SiteMapNodeInfo parent) { throw new Exception("The method or operation is not implemented."); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Orders", "~/Orders/Default.aspx", "Orders"); siteMapBuilderService.AddNode(moduleNode, "AllowBrowseOrders"); SiteMapNodeInfo createNewNode = new SiteMapNodeInfo("CreateNewOrder", "~/Orders/OrderEntry.aspx", "Create New Order"); siteMapBuilderService.AddNode(createNewNode, moduleNode, "AllowCreateOrders"); SiteMapNodeInfo savedDraftNode = new SiteMapNodeInfo("MySavedDrafts", "~/Orders/MySavedDrafts.aspx", "My Saved Drafts"); siteMapBuilderService.AddNode(savedDraftNode, moduleNode, "AllowCreateOrders"); SiteMapNodeInfo approvalsNode = new SiteMapNodeInfo("MyApprovals", "~/Orders/MyApprovals.aspx", "My Approvals"); siteMapBuilderService.AddNode(approvalsNode, moduleNode, "AllowApprovals"); SiteMapNodeInfo searchOrderNode = new SiteMapNodeInfo("SearchOrder", "~/Orders/SearchOrders.aspx", "Search Orders"); siteMapBuilderService.AddNode(searchOrderNode, moduleNode, "AllowBrowseOrders"); }
protected void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { // Register the nodes published by this module NameValueCollection attributes = new NameValueCollection(1); attributes["imageName"] = "admin"; SiteMapNodeInfo adminNode = new SiteMapNodeInfo("Admin", "~/Admin/Default.aspx", "Administration", "Admin Module", null, attributes, null, null); SiteMapNodeInfo permissionNode = new SiteMapNodeInfo("ViewRolePermissions", "~/Admin/ViewRolePermissionsView.aspx", "Permissions", "View Role Permissions"); siteMapBuilderService.AddNode(adminNode, 1000); siteMapBuilderService.AddNode(permissionNode, adminNode, Permissions.AllowAdministerPermissions); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { NameValueCollection attributes = new NameValueCollection(1); attributes["imageName"] = "funds"; SiteMapNodeInfo moduleRoot = new SiteMapNodeInfo("EFT", "~/EFT/Default.aspx", "Funds", "The Electronic Funds Transfer Module", null, attributes, null, null); SiteMapNodeInfo createTransferNode = new SiteMapNodeInfo("CreateTransfer", "~/EFT/CreateTransfer.aspx", "Create Transfer", "Creates a new transfer"); SiteMapNodeInfo confirmTransfersViewNode = new SiteMapNodeInfo("ConfirmTransfersView", "~/EFT/ConfirmTransfersView.aspx", "Confirm Transfers"); SiteMapNodeInfo createAccountViewNode = new SiteMapNodeInfo("CreateAccountView", "~/EFT/CreateAccountView.aspx", "Create Account"); SiteMapNodeInfo newTransferViewNode = new SiteMapNodeInfo("NewTransferView", "~/EFT/NewTransferView.aspx", "New Transfer"); SiteMapNodeInfo summaryViewNode = new SiteMapNodeInfo("SummaryView", "~/EFT/SummaryView.aspx", "Summary"); siteMapBuilderService.AddNode(moduleRoot, 1); siteMapBuilderService.AddNode(createTransferNode, moduleRoot, "AllowCreateTransfer"); siteMapBuilderService.AddNode(confirmTransfersViewNode, createTransferNode); siteMapBuilderService.AddNode(createAccountViewNode, createTransferNode); siteMapBuilderService.AddNode(newTransferViewNode, createTransferNode); siteMapBuilderService.AddNode(summaryViewNode, createTransferNode); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("CustomerManager", "~/CustomerManager/Default.aspx", "Customers"); siteMapBuilderService.AddNode(moduleNode); SiteMapNodeInfo searchNode = new SiteMapNodeInfo("SearchCustomer", "~/CustomerManager/SearchCustomer.aspx", "Search"); siteMapBuilderService.AddNode(searchNode, moduleNode); // TODO: register other site map nodes that CustomerManager module might provide }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { NameValueCollection attributes = new NameValueCollection(1); attributes["imageName"] = "reports"; SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Reports", "~/Reports/Default.aspx", "Reports", "Reports Module", null, attributes, null, null); SiteMapNodeInfo viewReportNode = new SiteMapNodeInfo("AccountsSummary", "~/Reports/AccountsSummaryView.aspx", "Accounts Summary"); SiteMapNodeInfo paymentHistory = new SiteMapNodeInfo("PaymentHistory", "~/Reports/PaymentHistoryView.aspx", "Payment History"); siteMapBuilderService.AddNode(moduleNode, 500); siteMapBuilderService.AddNode(viewReportNode, moduleNode, Permissions.AllowViewAccountsSummary); siteMapBuilderService.AddNode(paymentHistory, moduleNode, Permissions.AllowViewPaymentHistory); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Customers", "~/Customers/Default.aspx", "Customers"); siteMapBuilderService.AddNode(moduleNode, "AllowSearchCustomers"); SiteMapNodeInfo searchCustomerNode = new SiteMapNodeInfo("SearchCustomer", "~/Customers/SearchCustomers.aspx", "Search Customers"); siteMapBuilderService.AddNode(searchCustomerNode, moduleNode, "AllowSearchCustomers"); }
protected virtual void RegisterSiteMapInformation(ISiteMapBuilderService siteMapBuilderService) { SiteMapNodeInfo moduleNode = new SiteMapNodeInfo("Home", "~/Default.aspx", "Home", "Home"); _siteMapBuilderService.AddNode(moduleNode); _siteMapBuilderService.RootNode.Url = "~/Default.aspx"; _siteMapBuilderService.RootNode.Title = "MVPWithCWABQuickStart"; // TODO: register other site map nodes for pages that belong to the website root }