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

Issues with appointment time

7 Answers 36 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jonathan Levy
Top achievements
Rank 1
Jonathan Levy asked on 09 Jul 2010, 04:02 PM
Hi all,

A strange problem has just started happening with our scheduler.

When we right click an appointment and get the time it is giving us the selected time plus the time on the computer. So if we select 1am then the time it gives us is 1am + 16hrs = 17hrs

We have no idea how to solve this as it's just started happening. 

Any ideas?

Cheers
Jon

7 Answers, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 09 Jul 2010, 04:34 PM
Im also having the same problem with radscheduler if anyone can help.
Thanks
0
Peter
Telerik team
answered on 14 Jul 2010, 12:18 PM
Hello,

What code do you use to get the appointment's time and with which version of the Telerik.Web.UI assembly?


Greetings,
Peter
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
Jonathan Levy
Top achievements
Rank 1
answered on 14 Jul 2010, 12:29 PM
Hi,

In the time slot context menu I use this code

                            var startTime = new Date(contextMenuSlot.get_startTime());
                            var start = getTime(startTime);
                            startTime.setMinutes(startTime.getMinutes() + 30);

                            var end = getTime(startTime);

                            $('#ViewingStartTime').val(start);
                            $('#ViewingEndTime').val(end);

function getTime(date) {
    var hour = padNumber(date.getHours(), 2);
    var minute = padNumber(date.getMinutes(), 2);

    return hour + ':' + minute;
}

The version I'm using is 2009.1.402.35
0
Jonathan Levy
Top achievements
Rank 1
answered on 16 Jul 2010, 09:48 AM
Hello,

Any info on this folks?

If it helps this only happens when the scheduler is in Week view not day view.

Cheers
Jon
0
Peter
Telerik team
answered on 20 Jul 2010, 04:53 PM
Hi Jonathan Levy,

The version that you use (you probably mean 2010.1.402 is from an internal build and we don't keep an archive of this version in particular. However, I tested the case with version 2010.1.519 and 2010.2.713, which are official versions and this problem didn't occur in my local tests. Can you please try with the last two official versions and let me know if the problem persists?

All the best,
Peter
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
Jonathan Levy
Top achievements
Rank 1
answered on 20 Jul 2010, 05:03 PM
Peter,

The version of the DLL we are using in Visual Studio is 2009.1.402.35

Do we have to pay for the newer version of the DLL? I wouldn't like to pay for it and find that it didn't work.

Cheers
Jon
0
Peter
Telerik team
answered on 23 Jul 2010, 01:59 PM
Hi Jonathan,

We have tested and verified that this problem will not occur with later versions. You can download the trial version and check for yourself.

Greetings,
Peter
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
Jonathan Levy
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
Peter
Telerik team
Jonathan Levy
Top achievements
Rank 1
Share this question
or