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

2 posts, 0 answers
  1. Juan Pablo
    Juan Pablo avatar
    1 posts
    Member since:
    Mar 2014

    Posted 18 Mar 2014 Link to this post

    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:

    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??


  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 20 Mar 2014 Link to this post

    Hello Juan,

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

    Peter Filipov

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

Back to Top