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

switching to day view throws javascript error

7 Answers 56 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Leadeng Leadeng
Top achievements
Rank 1
Leadeng Leadeng asked on 02 Feb 2010, 05:43 AM
Hi

Switching to day view throws the following error.

j is null
_onAppointmentMouseOver()Teleri...d16cbdc (line 8611)
_onDomEvent()Teleri...d16cbdc (line 7120)
createCallback()Teleri...d16cbdc (line 6)
createCallback()Teleri...d16cbdc (line 6)
Also, I have noticed appointment object becomes null when switching to day view.

Any ideas what could be the cause of this?

Thanks

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Feb 2010, 12:07 PM
Hi Leadeng,

There was indeed such a bug with the earlier version but we have fixed it with the current official one -2009.3.1314. Do you experience the problem with this version as well?

Greetings,
Peter
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Leadeng Leadeng
Top achievements
Rank 1
answered on 02 Feb 2010, 06:20 PM
Yes.  It does occur in the latest version also.

The error thrown as soon as you mouse over on an appointment
j is null

OnDoubleclick event - appointment object is null.
Thanks


0
Peter
Telerik team
answered on 03 Feb 2010, 08:48 AM
Hello Leadeng,

Could you please isolate the problem in a simple working demo and send it to us via a support ticket?


Greetings,
Peter
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Timothy Kruszewski
Top achievements
Rank 1
answered on 04 Mar 2010, 11:32 PM
I added the following code to my project today in order to get the timeline view to display the start of the current week which in our case would be Sunday.  The view loads fine but the javascript error described below happens when hovering over an appointment in any given cell.  This problem does not occur when the code is in the page load event.

 

protected void RadScheduler1_PreRender(object sender, EventArgs e)

 

{

RadScheduler1.SelectedDate =

 

DateUtilities.GetStartOfCurrentWeek();

 

}

 

0
T. Tsonev
Telerik team
answered on 08 Mar 2010, 01:27 PM
Hello Timothy,

Try setting the SelectedDate in the page PreRender event. Alternatively, call Rebind() after changing the SelectedDate.

I hope this helps.

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
T. Tsonev
Telerik team
answered on 23 Jun 2010, 03:47 PM
Hello Jitin,

We'll need to see some sample code in order to help. Have you tried calling Rebind() after changing the RadScheduler properties?

I hope this helps.

Greetings,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Leadeng Leadeng
Top achievements
Rank 1
Answers by
Peter
Telerik team
Leadeng Leadeng
Top achievements
Rank 1
Timothy Kruszewski
Top achievements
Rank 1
T. Tsonev
Telerik team
Jitin Bhasin
Top achievements
Rank 1
Share this question
or