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

[Solved] Page_Validators is undefined

2 Answers 259 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rune
Top achievements
Rank 2
Rune asked on 30 Jun 2009, 02:29 PM
I am getting a javascript error after setting up my RadScheduler on a new webserver.
The error is "Page_Validators is undefined"

The RadScheduler is loading two different javascript files. One through the "WebResource.axd" and one through "Telerik.Web.UI.WebResource.axd" (Something like _TSM_HiddenField_=RadScriptManager1_HiddenField&amp...)

The error ocurs in the second one.
The error ocurs in the line by my arrow under here.

_initializeAdvancedFormValidators:function(){
var _67=this._createValidatorToolTip();
if(!Page_Validators){ <====
return;
}
...


How is this possible? It is working fine locally. Do I need to set up something on the webserver?

Regards
Rune



2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 30 Jun 2009, 02:41 PM
Hi Rune,

Page_Validators should be defined in the JavaScript file served by the WebResource.axd http handler. If the latter fails to load for some reason Page_Validators will be undefined. I suggest you check this blog post for instructions how to troubleshoot web resource related errors. You could use FireBug or Fiddler to inspect your web site for failing requests.

Greetings,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rune
Top achievements
Rank 2
answered on 02 Jul 2009, 08:44 AM
I found the problem finally. It was as I expected my own fault.

There where a slight (But important) difference in the two web.configs.
The one working:
<assemblies> 
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
      </assemblies> 
The one NOT working:
<assemblies> 
                <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
                <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
            </assemblies> 


DOH. Sorry for the inconvenience.
Tags
Scheduler
Asked by
Rune
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Rune
Top achievements
Rank 2
Share this question
or