We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Schedule Navigation Error

Hi,

I'am having a problem with the schedule control in version 9.2.0.138. Every time changing the date the control value is set to 01/01/0001.

I even get this error on using the sample from your samplebrowser.

My system is VS2010, ASP.NET MVC 3.

could you please have a look on the attached file and tell a solution!

Thank you.




ScheduleNavigationInC_85125580.zip

3 Replies

ES Eswari S Syncfusion Team August 3, 2011 11:32 AM UTC

Hi Gluba,

Thank you for your interest in Syncfusion products.

Query #1: Every time changing the date the control value is set to 01/01/0001

Sorry for the inconvenience caused. We were unable to reproduce the issue what you have said with data value. However with your sample, we got "JSON parser" for every post actions. We have suspect that the cause of issue is you would have returned the View() in post action instead of returning the ActionResult.

Please refer to the following code snippets.

Old Code:

[AcceptVerbs(HttpVerbs.Post)]
public ActionResult CalendarNavigation(Params Args)
{
ActionResult Result = m_DataSource.ScheduleActions();
return View();
}

Modified Code:

[AcceptVerbs(HttpVerbs.Post)]
public ActionResult CalendarNavigation(Params Args)
{
ActionResult Result = m_DataSource.ScheduleActions();
return Result; // return the actionresult
}

Also ,we have modified your sample and the same can be downloaded from the following link:

ScheduleNavigationInC557049092.zip

Query #2 : I even get this error on using the sample from your sample browser.

We were unable to reproduce the issue with our sample browser. In our end, sample is working fine. Could you please check with the following online sample.

http://mvc.syncfusion.com/sfmvcsamplebrowser/9.2.0.138/Schedule_MVC/Samples/4.0/Razor/BasicFeatures/CalendarNavigation

Please try this and let us know if you would require any further assistance.

Regards,
Eswari.S





D. D.Gluba August 4, 2011 09:14 AM UTC

Hi Eswari.

Thank you for your helping.

I have tried your samplecode, but it still does not work. I attached three screenshots. The first two are showing the behavior of the view.

The third is showing debug information, where you can see that the current date is set to 01/01/0001.

Regrads,
Gluba.



screenshots_768b55d4.zip


RR Ranjithkumar R G Syncfusion Team August 9, 2011 10:28 AM UTC

Hi Gluba,

Thanks for your update.

We would like to know you that we are setting the current date and time value in the onResultExecuting event internally. So , it is not possible to retrieve the current date and time value in onActionResultExecuting event.

Please let me know you if you have any queries.

Regards,
Ranjithkumar.


Loader.
Live Chat Icon For mobile
Up arrow icon