As every one know that by default there is a layout page
when you create project in mvc3 , and also there is a
partail view which comes by default named _LogOnPartial.cshtml
where login and logout links are availble and it renders on layout page .
I want that when i call home page which is inherited from layout , then
those login and logout links not show on home page
……
In short i don’t want to render _LogOnPartial.cshtml when i call home page .
As every one know that by default there is a layout page when you
Share
1 Answer