title: Remote validation not working for partial view in asp.net mvc 5
body: <p>I have an editor field declared in razor partial view as</p>
  
  <pre><code>    &lt;div class="form-group"&gt;
          @Html.LabelFor(model =&gt; model.sifra_materijala, new { @class = "control-label col-md-2" })
          &lt;div class="col-md-10"&gt;
              @Html.EditorFor(model =&gt; model.sifra_materijala)
              @Html.ValidationMessageFor(model =&gt; model.sifra_materijala)
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>View is called with "RenderPartial" from index.</p>
  
  <p>This generate's html:</p>
  
  <pre><code>&lt;input type="text" value="" name="sifra_materijala" id="sifra_materijala" 
  data-val-remote-url="/NormativiMaterijala/MaterijalUPoziciji" 
  data-val-remote-additionalfields="*.sifra_materijala" 
  data-val-remote="'sifra_materijala' is invalid." 
  data-val="true" class="text-box single-line"&gt;
  </code></pre>
  
  <p>I also have </p>
  
  <pre><code>    [HttpGet]
      public virtual JsonResult MaterijalUPoziciji(string sifra_materijala)
      { 
         // do some checking and return json result..
      }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>    [Remote("MaterijalUPoziciji", "NormativiMaterijala", ErrorMessage = "Already Exists")]
      public string sifra_materijala { get; set; }
  </code></pre>
  
  <p>in model that need to be checked...
  All this just don't work for no obvious reason. I checked spelling, jquery unobtrusive scripts and everything is ok, but validation method is never called. </p>
  
  <p>For things to be even more confusing, i have all this on another page working perfectly fine...</p>
  
  <p>Can someone help me with this?</p>
  
  <p>EDIT: Checking page in firebug show that no request is send after exiting/changing editbox with data that need to be validated...</p>
  
  <p>I also have scripts included.</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery-2.1.0.js")"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.js")"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/bootstrap.min.js")"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I also added second validation, that is not remote and this one is working but remote is still dead...</p>
  
  <pre><code>[StringLength(10, MinimumLength = 5, ErrorMessage = "Sifra must be minimum 5 characters long")]
          [Remote("MaterijalUPoziciji", "NormativiMaterijala", ErrorMessage = "Already Exists")]
          public string sifra_materijala { get; set; }
  </code></pre>