asp.net - Setting UnobtrusiveValidationMode to None doesn't work -


here go again.

another question on microsoft's unobtrusivevalidationmode.

so here problem.

problem 1

on post back, message shows data submitted.... odd (not on sites)

<add key="validationsettings:unobtrusivevalidationmode" value="none"/> 

to clarify, none means use 4.0 validation , code write database still executed on submit.

problem 2

if decide use .net 4.5 validation, jquery loaded when needed.

  • i have ui requires jquery

  • if put scriptmanager in masterpage, jquery loaded twice on form pages

so there way either

  • make unobtrusivevalidationmode not process information when set none

  • not have jquery loaded 2x if did unobtrusivevalidationmode on form pages


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -