Okay, so I'm using validation controls on a website
At first I was getting the classic error
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Didn't take much to fix that.
I added the following to my web.config file
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="none"/>
</appSettings>
However, now when I run my pages, my asp:LinkButtons don't work correctly, their code-behind doesn't seem to execute (it's a school assignment so I can merely alter them to anchors. Guidelines mandate asp:LinkButtons).
I tried
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="WebForms"/>
</appSettings>
But then I get the old error and my page won't load.
:/ I'm very confounded. What can I do?
Aucun commentaire:
Enregistrer un commentaire