TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
S G
NA
92
46.5k
On click parent node show the first child node in sitemap.
Jan 14 2013 4:11 AM
Hi all,
I am new in ASP.NET. I am creating a one website. In that website i am using a sitemap for menu,left menu. I dont have a content in the "Home" page. So when user click on the "Home" link/node i want to show content of a first child of the "Home". Sitemap Can not taking a blank url.
<siteMapNode url="~/Home/Home.aspx" title="Home" description="Home">
<siteMapNode url="~/Home/HomePage1.aspx" title="Corporate Overview" description=""/>
<siteMapNode url="~/Home/AboutUsPage.aspx" title="About Us" description="">
<siteMapNode url="~/Home/AboutUs/AboutPage1.aspx" title="Mission and Values" description=""/>
<siteMapNode url="~/Home/AboutUs/AboutPage2.aspx" title="Executive Team" description=""/>
</siteMapNode>
<siteMapNode url="~/Home/OtherPages.aspx" title="Products and Services" description=""/>
</siteMapNode>
As shown as above,
On click 'Home' node i want to show the page "HomePage1.aspx" , not a "Home.aspx".
Same, On click About Us node i want to show "AboutPage1.aspx" , not a "AboutUsPage".
Any one have a solution about this.
Reply
Answers (
0
)
vs 2012 web developing
calling method from hlink