We have a big issue. In some parts of our site the ASP:VALIDATORS, doesn't work.
The exception generated on the server is "This is an invalid script resource request" when from the client the app make the request:
...../ScriptResource.axd?d=1&p=7923ac73-f867-4221-af87-e7a312bdd9fc....
In the Develoment enviorement works perfectly, actually load this .js: (Validators javascript functions)
var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;
var Page_InvalidControlToBeFocused = null;
var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
function ValidatorUpdateDisplay(val) {
if (typeof (val.display) == "string") {
if (val.display == "None") {
return;.........................................(I dont want to post the all thing)
We just move our site from a W2003Server to W2012Server.
For a few hours I try with all the solutions related with "unobtrusive validation mode", but finally no one work and we dont use F4.5, we use F4.0.
We try:
- Register the jquery ScriptResourceDefinition in the globlal.asax
- Check all the settings in web.config for *.axd resources
- Add the line "<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />" in the web.config.
- Try to load the jquery.js before the others scripts (adding a ScriptReference in the RadScriptManager)
Any ideas??
xdsd
The exception generated on the server is "This is an invalid script resource request" when from the client the app make the request:
...../ScriptResource.axd?d=1&p=7923ac73-f867-4221-af87-e7a312bdd9fc....
In the Develoment enviorement works perfectly, actually load this .js: (Validators javascript functions)
var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;
var Page_InvalidControlToBeFocused = null;
var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
function ValidatorUpdateDisplay(val) {
if (typeof (val.display) == "string") {
if (val.display == "None") {
return;.........................................(I dont want to post the all thing)
We just move our site from a W2003Server to W2012Server.
For a few hours I try with all the solutions related with "unobtrusive validation mode", but finally no one work and we dont use F4.5, we use F4.0.
We try:
- Register the jquery ScriptResourceDefinition in the globlal.asax
- Check all the settings in web.config for *.axd resources
- Add the line "<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />" in the web.config.
- Try to load the jquery.js before the others scripts (adding a ScriptReference in the RadScriptManager)
Any ideas??
xdsd