Note that there are some explanatory texts on larger screens.

plurals
  1. POASP.NET Client Validation Javascript Partially Rendering
    primarykey
    data
    text
    <p>This is happening on my development machine and the same codebase is working in production. So I believe this to be an IIS/Framework issue. It affects all pages.</p> <p>On both servers, the Page_Validators are setup correctly:</p> <pre><code>&lt;script type="text/javascript"&gt; &lt;!-- var Page_Validators = new Array(document.getElementById("ValidatorInsurancePayerRequired"), document.getElementById("ValidatorCheckPostDateRequired"), document.getElementById("ValidatorCheckPostDateFormat"), document.getElementById("ValidatorCheckNumberRequired"), document.getElementById("ValidatorCheckTotalRequired"), document.getElementById("ValidatorCheckTotalFormat")); // --&gt; &lt;/script&gt; </code></pre> <p>However, on my development machine it does not render the script block that sets the validation properties:</p> <pre><code>&lt;script type="text/javascript"&gt; &lt;!-- var ValidatorInsurancePayerRequired = document.all ? document.all["ValidatorInsurancePayerRequired"] : document.getElementById("ValidatorInsurancePayerRequired"); ValidatorInsurancePayerRequired.controltovalidate = "txtPayer"; ValidatorInsurancePayerRequired.errormessage = "&lt;br&gt;Insurance Payer Is Required"; ValidatorInsurancePayerRequired.display = "Dynamic"; ValidatorInsurancePayerRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; ValidatorInsurancePayerRequired.initialvalue = ""; . . all other Page Validators . // --&gt; &lt;/script&gt; </code></pre> <p>I have tried running aspnet_regiis -c to reinstall the validation scripts. Failing that I tried that with a -e (remove) followed by -i (install).</p> <p>Any ideas?</p>
    singulars
    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.
 

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