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

Java Error on Scheduler

6 Answers 143 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
julian Welby Everard
Top achievements
Rank 1
julian Welby Everard asked on 20 Mar 2009, 10:21 AM

When I try to switch between views on my scheduler I get the following Java error and the scheduler does not render, It works fine untill i switch between  day, week or month views.

as follows 

Microsoft JScript runtime error: '0._preInitialized' is null or not an object
Failes in the followin JS script

 

Telerik.Web.UI.RadScheduler._preInitialize=

function(_10d,_10e,_10f,_110,_111){

 

 

var _112=$("#"+_10d);

 

 

if(_112[0]._preInitialized==true&&!$telerik.isIE){

 

 

return;

 

}

 

line in bold is where the error happens.

I assume I must not have set somthing but just cant find it.

Julian

6 Answers, 1 is accepted

Sort by
0
Paul Huff
Top achievements
Rank 1
answered on 30 Mar 2009, 03:42 PM
I'm in the same boat.  Why is this happening?  Very frustrating.
0
Atanas Korchev
Telerik team
answered on 30 Mar 2009, 03:57 PM
Hello,

Could you please elaborate? We need additional details so we can reproduce the problem locally. Ideally you could open a support ticket and send us a running web site which shows the javascript error.

Greetings,
Albert
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
yiqiang
Top achievements
Rank 1
answered on 17 Dec 2011, 08:39 AM
Hi,

I am facing same problem.

error message:  Microsoft JScript runtime error: Unable to get value of the property '_preInitialized': object is null or undefined

scenario:

I am trying to add tooltips on appointment and then bind appointment with RadScheduler.

The first time on page load, it work, but once page postback, the error raise.

I struggled on it for two days.
0
Plamen
Telerik team
answered on 20 Dec 2011, 12:04 PM
Hello Yiqiang,

It is not very clear what is causing this behavior.

You can refer to this forum post for a possible solution. If you are using custom attributes please make sure that there is no "space" in the name of the attribute.

If this doesn't help, please test the code with the latest version of our controls and let me know of the result.

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Andrew
Top achievements
Rank 1
answered on 09 Jan 2012, 06:06 PM
I am receiving the same error. I only get the error when the control is rendered inside of a web part.  I've made sure there are no spaces anywhere.  I saw this post:

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/radscheduler-problems-using-on-sharepoint-2010.aspx

But setting the column width didn't help.
0
Plamen
Telerik team
answered on 10 Jan 2012, 02:38 PM
Hi Andrew,

You can refer to this forum post where is discussed how to handle a similar issue or upgrade with the  Microsoft Office 2010 October cumulative update.

Hope this will be helpful.

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Scheduler
Asked by
julian Welby Everard
Top achievements
Rank 1
Answers by
Paul Huff
Top achievements
Rank 1
Atanas Korchev
Telerik team
yiqiang
Top achievements
Rank 1
Plamen
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or