Hi,
Both the daypilot calendar and month controls error when dealing with SQL DB fields that contain a backslash ( \ ). In my case, the backslash is meaningful because the field in question is a domain\username. Idiscovered this when moving events OnEventMove...
Error:
Exception was thrown in the server-side event handler:
System.Exception: Unsupported escape sequence: \j
at DayPilot.Web.Ui.Json.SimpleJsonDeserializer.unescape(String source)
" .getString()
" .getNextValue()
" .getObject()
" .getNextValue()
" .getgetObject
...
" .Deserialize(String input)
at DayPilot.Web.Ui.DayPilotMonth.ExecuteEventJSON(String ea)
at DayPilot.Web.Ui.DayPilotMonth.RaiseCallbackEvent(String ea)
at System.Web.UI.Page.PrepareCallback(String callbackControlID)
If you have a workaround, I could use it. Otherwise, I'll reformat the DB to separate user and domain, and cat them together as necessary.
Thanks!
J Nigon
-
3/26/2009 6:21:49 PM
Please, check the '+' sign also.
It is replaced by gap.
Anonymous
-
7/1/2010 7:14:02 AM
I'm having similar problem. I'm using the latest release of DayPilot Pro 6.0 SP1
Release date: June 30, 2010 (build 2078)
Does any one has any suggestion for a work aground and till fix will be released?
[Exception: Unsupported escape sequence : \u]
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.unescape(String source) +346
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getString() +206
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getNextValue() +45
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getObject() +333
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getNextValue() +65
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getObject() +333
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getNextValue() +65
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getObject() +333
DayPilot.Web.Ui.Json.SimpleJsonDeserializer.getNextValue() +65
DayPilot.Web.Ui.DayPilotCalendar.ExecuteEventJSON(String ea) +60
DayPilot.Web.Ui.DayPilotCalendar.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +71
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Anonymous
-
8/11/2010 11:52:48 AM
Copyright © 2007-2010 Annpoint, s.r.o.