eZeeNow.com

it's your's

ASP.NET MVC - Html.RenderAction not working _layout.cshtml page

 ASP.NET MVC - Html.RenderAction not working _layout.cshtml page

_Layout.cshtml


<body>
    <div class="main_page">
        <div id = "header">
            *@Html.Partial("HeaderPartial", @Model)*@
            @Html.Action("Header")
        </div>        
        <div id="body">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
</body>
Solution is use @{ SERVER TAG }

@{ Html.RenderAction("Header", "Home"); }

Comments (6) -

  • long tail pro Discount

    8/22/2016 1:22:45 PM | Reply

    A lot of people have seen returning discomfort someday within their day-to-day lives. The causes of Neck Pain tend to be many; many tend to be self-inflicted caused by a use of bad practices. Other rear discomfort causes include accidents, muscle mass ranges, along with athletics incidents. Even though the will cause can be different, most often these people reveal the identical signs or symptoms.

  • Redovisningsbyrå göteborg

    1/13/2017 1:13:03 PM | Reply

    Whats up this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding expertise so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!

  • war commander

    6/4/2017 12:42:22 PM | Reply

    Excellent goods from you, man. I've understand your stuff previous to and you're just extremely wonderful.

  • antique shop light

    9/3/2017 9:29:55 PM | Reply

    Wonderful goods from you, man. I've understand your stuff previous to and you are just too excellent.

  • war commander

    9/10/2017 8:02:01 AM | Reply

    Wonderful goods from you, man. I have understand your stuff previous to and you're just extremely wonderful.

  • war commander

    9/10/2017 10:19:09 PM | Reply

    Excellent goods from you, man. I have understand your stuff previous to and you are just too fantastic.

Loading