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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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