i have menu in _layout.cshtml view partially render body. ajax menu master page in old days , rendering content place holder.
i have piece of code in view :
<div id="body"> <aside class="menu_aside"> <ul class="menu_ul"> <li>@ajax.actionlink( "current settings", "index", "currentsettings", new ajaxoptions { insertionmode=insertionmode.replace ,loadingelementid = "_body"} )</li> <li>@html.actionlink( "call history", "index", "callhistory" )</li> </ul> </aside> <div id ="_body"> @rendersection( "featured", required: false ) <section class="content-wrapper main-content clear-fix"> @renderbody() </section> </div> </div>
but adds strange behavior on view.
i when pressing link "content" part rendered. i'm sure possible haven't figure out how. thanks
i asked similar question here. how use ajax update renderbody() section vs 2012 internet template? answer should you're looking for.
Comments
Post a Comment