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> 

double extensions

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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -