title: The resource type 'XXXX.XXX' does not have a publicly visible static property named '_RequiredXXXX'
body: <blockquote>
    <p>"'ErrorMessageResourceType' property specified was not found."
    {"The resource type 'XXXX.XXXXXX' does not have a publicly visible static property named '_RequiredXXXX'."}</p>
  </blockquote>
  
  <p>I'm getting this error when my Create.aspx view is called and steps over that line:</p>
  
  <pre><code>&lt;%=Html.TextBoxFor(Function(model) model.NO_DEMND, New With {.class = "txtbox", .disabled = True})%&gt;
  &lt;%=Html.ValidationMessageFor(Function(model) model.NO_DEMND)%&gt;
  </code></pre>
  
  <p>The message is there in the Ressources file, I think the problem is deeper than that but i'm having a hard time finding it. It pops this error very early on the ASPX page. It's the first model component it goes thru, i tried removing this one and it's the same message for all the model.xxxx components. I guess it's an error somewhere in the linkage. The .EDMX is correct and I get no build errors, can anyone enlight me ?</p>
  
  <p>Thanks alot
  Tom.</p>