asp.net mvc - MVC5 EditorTemplates for DataTypes Cached Locally? -
i have datatype i've made editortemplates for.
double?
//example of double
@model double? @{ string name, id; if (viewdata.modelmetadata.containertype.name.contains("viewmodel")) { name = viewdata.modelmetadata.propertyname; id = viewdata.modelmetadata.propertyname; } else { name = viewdata.modelmetadata.containertype.name + "." + viewdata.modelmetadata.propertynam id = viewdata.modelmetadata.containertype.name + "_" + viewdata.modelmetadata.propertyname; } } <div class="input-group"> <span class="input-group-addon" style="background-color:beige">$</span> <input type="number" value="@model" min="0" step="0.01" data-number-to-fixed="2" data-number-stepfactor="100" class="form-control currency" style="width:247px" id="@id" name="@name" /> </div>
i have 2 areas in website, @ first tried putting different version of editor template in each shared folder. i'm unable hit break point in either area.
a copy of double.cshtml found in app_web_dsfaso.dll.. current source code different
but when deploy on server works correctly. has made testing , developing in local environment more difficult.
has experiences issue? suggestions?
Comments
Post a Comment