OK I don't know how to explain this so take my website for example > http://www.thecodingguys.net/ OK see the menu bar ? OK I made a mainLayout then I got another layout page based of the main layout, I want to
be able to change the main menu bar with different text (on the nested layout), just like you can do in asp.net web forms, is this possible?
CriticalErro...
Member
421 Points
390 Posts
Nested Templates - Duplicates Menu
Jul 21, 2012 04:12 PM|LINK
OK I don't know how to explain this so take my website for example > http://www.thecodingguys.net/ OK see the menu bar ? OK I made a mainLayout then I got another layout page based of the main layout, I want to be able to change the main menu bar with different text (on the nested layout), just like you can do in asp.net web forms, is this possible?
My Site | My Blog
SonicMan
Participant
1472 Points
228 Posts
Re: Nested Templates - Duplicates Menu
Jul 23, 2012 10:10 AM|LINK
HI
Do you means you want the sitemap in Razor?
http://blogs.iis.net/carlosag/archive/2011/08/07/razor-migration-notes-1-moving-a-sitemappath-control-to-asp-net-web-pages.aspx
CriticalErro...
Member
421 Points
390 Posts
Re: Nested Templates - Duplicates Menu
Jul 23, 2012 10:13 AM|LINK
No but I managed to fix it using sections..
My Site | My Blog
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Nested Templates - Duplicates Menu
Jul 23, 2012 10:15 AM|LINK
HI
You want to get different dropdown content is that right?
You can use jquery, and use some JS file to store the text, then invoking it in you jquery code.
Some thing like this:
http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework