Home Unanswered Active Tags New Question

Exception when calendar in viewtype day

Hi, I have a navigator and calendar linked via bound IDs and it works great.

Except when I set the navigator.SelectMode = DayPilot.Web.Ui.Enums.NavigatorSelectMode.Day and calendar.ViewType = DayPilot.Web.Ui.Enums.ViewTypeEnum.Day I get the following error when clicking another day on the navigator:

An exception was thrown in the server-side event handler:

System.ArgumentException: Unrecognized ViewTypeEnum value.
by DayPilot.Utils.ViewTypeParser.Parse(String input)
by Daypilot.Web.Ui.DaypilotCalendar.ExecuteEventJson(string ea)
by Daypilot.Web.Ui.DaypilotCalendar.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String ea)
by System.Web.UI.Page.PrepareCallback(String callbackControlID)

If the navigator mode remais the same, but calendar viewtype is set to week it works again?

regards
Robert
(great control by the way)

Asked by Robert van Vliet 1 year ago.
Replies

Actually, when I change the viewType of the daypilotcalendar to "Day" in the calendar/default.aspx file of the demo's, I get the same error...

Comment posted by Robert van Vliet 1 year ago.

Anyone?

Comment posted by Anonymous 1 year ago.

I'm still hoping someone will respond...

Comment posted by Robert 1 year ago.

Hi Robert,

This was a bug. It's now fixed in the sandbox build (6.3.2231). The fix will be included in 6.3 SP1 release.

Thanks for reporting the issue!

Answer posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java