Note that there are some explanatory texts on larger screens.

plurals
  1. POwhy ValidationMassage errors does not show in view, but shows in firebug?
    primarykey
    data
    text
    <p>hi i have a partial view that is loaded in main view by clicking "edit" or "create" button. it hast some dropdownlist thas fill by ViewBags. i have activated unobtrasive javascript in webconfig and use it in my partial view. when i debug main view in firebug, DropDownList's validationMessage errors just shows in html part of console and doesn't show in view by </p> <blockquote> <p><strong>"@Html.ValidationMessageFor(m=>m.groupID)"</strong></p> </blockquote> <p>how can i solve it? Thanks.</p> <p><strong>Edited: Sample codes</strong></p> <pre><code> &lt;div class="editor-label"&gt; @Html.LabelFor(model =&gt; model.InsuranceInsurerID) &lt;/div&gt; &lt;div class="editor-field"&gt; @Html.DropDownList("InsuranceInsurerID", "Select...") @Html.ValidationMessageFor(model =&gt; model.InsuranceInsurerID) &lt;/div&gt; &lt;div class="clr"&gt;&lt;/div&gt; &lt;div class="editor-label"&gt; @Html.LabelFor(model =&gt; model.InsuranceTypeID) &lt;/div&gt; &lt;div class="editor-field"&gt; @(Html.Kendo().ComboBox() .Name("InsuranceTypeID") .HtmlAttributes(new { style = "width:210px" }) .Placeholder("Select...") .DataTextField("TypeName") .DataValueField("TypeID") .Filter(FilterType.Contains) .DataSource(source =&gt; { source.Read(read =&gt; { read.Action("GetCascadeTypes", "Insurance"); }); }) ) @Html.ValidationMessageFor(model =&gt; model.InsuranceTypeID) &lt;/div&gt; </code></pre> <p>ViewBags:</p> <pre><code> var InsInsurer = db.INS_InsuranceWorkers .Where(m =&gt; m.InsWorkerTypeID == 1 &amp;&amp; m.InsWorkerCreateUserID == userid) .Select(k =&gt; new { FullName = k.InsWorkerFirstName + " " + k.InsWorkerLastName, InsInsurerID = k.InsWorkerID }).ToList(); ViewBag.InsuranceInsurerID = new SelectList(InsInsurer, "InsInsurerID", "FullName"); </code></pre> <p>kendo dropdown gets list by its actions.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload