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.
Unfortunately, activation email could not send to your email. Please try again.

Schedule Navigation Error

Thread ID:

Created:

Updated:

Platform:

Replies:

100374 Aug 2,2011 07:40 AM Aug 9,2011 06:28 AM ASP.NET MVC (Classic) 3
loading
Tags: Schedule
D.Gluba
Asked On August 2, 2011 07:40 AM

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

Eswari S [Syncfusion]
Replied On August 3, 2011 07:32 AM

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.Gluba
Replied On August 4, 2011 05:14 AM

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

Ranjithkumar R G [Syncfusion]
Replied On August 9, 2011 06:28 AM

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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;