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

Scheduler send the wrong time value to the controller.

3 Answers 165 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 24 Jul 2013, 03:27 AM
Hi,

I have added scheduler control to my site,it's work in my local testing . but when I uploaded to the server I can't add the event. I thinks because the wrong values 
of start and end time. there is a different between time value in popup and time value in post method
Please find the screen shoot in the attached image,

thanks,
  

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 24 Jul 2013, 12:48 PM
Hi Benjamin,

 
From the provided information it's not clear for us what is the exact reason for this behavior, however I would suggest to check this guide which demonstrates how to setup correctly your project to work correctly with dates and let us know of the result.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Benjamin
Top achievements
Rank 1
answered on 25 Jul 2013, 07:24 AM
hi Vladimir,

I have used that guide ,  now I can save the date to the database , but the time still incorrect. if I add "2.00PM"  from the popup , the result on scheduler is 12.00PM
I have add the kendo culture like this. 
@{
    var culture = System.Threading.Thread.CurrentThread.CurrentCulture.ToString();
}
 
    <script src="@Url.Content("~/Scripts/cultures/kendo.culture." + culture + ".min.js")"></script>
 
@* Set the current culture *@
 
    <script>
        kendo.culture("@culture");
    </script>


any idea what wrong?

best regards,

0
Vladimir Iliev
Telerik team
answered on 25 Jul 2013, 09:21 AM
Hi Benjamin,

 
I tried to reproduce the problem locally but to no avail – everything is working as expected on our side. Could you please provide runable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Benjamin
Top achievements
Rank 1
Share this question
or