Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat might cause Google chrome to not render ASP.Net validators where Firefox does?
    primarykey
    data
    text
    <p>A registration page in a site I'm working on collects information on 2 named contacts, who are <strong>required</strong> to have email addresses and telephone numbers which do not overlap with one another.</p> <p>I use several <strong>requiredfieldvalidators</strong>, <strong>regularexpressionvalidators</strong>, <strong>CompareValidators</strong> and some <strong>customvalidators</strong>.</p> <p><strong>STAGING-> Firefox</strong>: When I view this page using Firefox, all is fine. </p> <p><strong>Staging-> Chrome</strong>: When I view it using Chrome anything to do with validators is missing from the HTML source of the rendered page. The javascript and tags pertaining to said validation is completely absent from these pages.</p> <p><strong>Local -> Chrome</strong>: All fine again</p> <p>So what am I doing wrong?</p> <hr> <p><strong>Updates</strong>:</p> <ul> <li>Staging machine has .Net 3.5 SP1. Local machine has 3.5 SP1 and 4.0 </li> <li>%SystemRoot%\Microsoft.NET\Framework\ <strong>v2.0.50727</strong>\CONFIG\Browsers folder is same on both machines.</li> <li>Tried removing browser files from %SystemRoot%\Microsoft.NET\Framework\ <strong>v4.0.30319</strong>\Config\Browsers on local dev machine. No effect. Validators still work when referencing local Server</li> </ul> <hr> <p><strong>SOLVED:</strong> Full marks to Will because without his help (below) I would have spent hours at this.</p> <p>Technically the incorrect browser sniffing was down to some rouge browsercaps info in one of the web.configs in the solution. the differences between dev and deploy came about because web.config differs in these scenarios</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.
 

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