admin,student.i had maintain two master pages with corresponding menu controls for member activities(admin,student).i used two sitemap files (Web.sitemap,student.sitemap)
i was configure the multiple sitemaps in one web configure file.i bind the student member activities to menu control(with in student masterpage)using sitemap but instead of admin activities are bind automatically to student master page i.e functionality second menu not working properly.two master pages are also bind the admin activities but i want to bind the activities for corresponding master pages by using sitemap and menu control.
Web.sitemap:
- xml version="1.0" encoding="utf-8" ?>
- <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
- <siteMapNode url="" title="" description="">
- <siteMapNode url="Admin.aspx" title="Home" description="Home page" />
- <siteMapNode url="StudentRegistration.aspx" title="Student registration" description="Studentregistration page" />
- <siteMapNode url="AddLearningmaterial.aspx" title="Add material" description="AddLearningmaterial">
- <siteMapNode url="Alphabets.aspx" title="Alphabets" description="Alphabets page">siteMapNode>
- <siteMapNode url="Numbers.aspx" title="Numbers" description="Numbers page">siteMapNode>
- <siteMapNode url="Animals.aspx" title="Animals" description="Animals page">siteMapNode>
- <siteMapNode url="Fruits.aspx" title="Fruits" description="Fruits page">siteMapNode>
- <siteMapNode url="Vegetables.aspx" title="Vegetables" description="Vegetables page">siteMapNode>
- siteMapNode>
- <siteMapNode url="Modifyingmaterial.aspx" title="Update material" description="Modifyingmaterial page">siteMapNode>
- siteMapNode>
- siteMap>
student.sitemap:
- xml version="1.0" encoding="utf-8" ?>
- <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
- <siteMapNode url="" title="" description="">
- <siteMapNode url="Home.aspx" title="Home" description="Home page" />
- <siteMapNode url="Viewmaterial.aspx" title="View material" description="Viewmaterial page" >
- <siteMapNode url="ViewAlphabets.aspx" title="Alphabets" description="Alphabets page">siteMapNode>
- <siteMapNode url="viewNumbers.aspx" title="Numbers" description="Numbers page">siteMapNode>
- <siteMapNode url="viewAnimals.aspx" title="Animals" description="Animals page">siteMapNode>
- <siteMapNode url="viewFruits.aspx" title="Fruits" description="Fruits page">siteMapNode>
- <siteMapNode url="viewVegetables.aspx" title="Vegetables" description="Vegetables page">siteMapNode>
- siteMapNode>
- siteMapNode>
- siteMap>
- xml version="1.0"?>
- answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nigel FernandesPosted Jan 18, 2017, 10:21 PM