DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Double-click event for time range selection causes Unknown PostBack/CallBack parameter type exception

Double-click event for time range selection causes Unknown PostBack/CallBack parameter type exception

Hi! When I set the TimeRangeDoubleClickHandling property of the dayPilot calendar to either postback or callback, withTimeRangeSelectedHandling= Hold or HoldForever, I'm getting an Unknown PostBack/CallBack parameter type exception "TRD" when I double-click on the selected timerange. If "javascript" is setted to TimeRangeDoubleClickHandling, it works fine, like it does in the sample demo.

Version DayPilotProTrial-4.7.1399.

Here's the call stack I'm getting:

ArgumentException: Unknown PostBack/CallBack parameter type : 'TRD:']
DayPilot.Web.Ui.Events.ArgumentsParser.ExtractArguments(String ea, String[] fields) +834
DayPilot.Web.Ui.DayPilotCalendar.executeEvent(String ea, EventSource src) +23
DayPilot.Web.Ui.DayPilotCalendar.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Chris - 4/25/2008 7:10:49 PM
Hi Chris, this is a bug of 4.7 release. I've just fixed it - the fix will be included in the next release.
Dan Letecky - 5/4/2008 6:10:52 PM
Post reply