This is a migrated thread and some comments may be shown as answers.

RadScriptManager problems with ASP Validators - This is an invalid script resource request

1 Answer 108 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Juan Pablo
Top achievements
Rank 1
Juan Pablo asked on 18 Mar 2014, 05:03 AM
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



1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 20 Mar 2014, 09:53 AM
Hello Juan,

I have posted a reply to your support ticket. To avoid duplication of the thread please continue the conversation in the ticket.

Regards,
Peter Filipov
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
ScriptManager and StyleSheetManager
Asked by
Juan Pablo
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or