asp.net - Why would Razor View Engine have incorrect search locations -
totally bizarre behavior today when working on vb.net mvc app. added partial view , got this. has seen before? ended naming files
_savedsearchesgrid.vbhtml.vbhtml
savedproperties.vbhtml.vbhtml
and worked.. go figure...
<div class="container-fluid"> @html.partial("_savedsearchesgrid.vbhtml") @html.partial("savedproperties.vbhtml") </div>
don't specify .vbhtml
@ end when call partial
.
<div class="container-fluid"> @html.partial("_savedsearchesgrid") @html.partial("savedproperties") </div>
this attempting of different view engines have been installed.
Comments
Post a Comment