search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to use double click with scheduler

Asked by Anonymous
14 years ago.

I want to use the doubleclick event to allow my users to take an action on a time range using the scheduler in resource mode.

I find that whenever I try the double-click the time rane selection is lost. Any ideas?

<DayPilot:DayPilotScheduler ID="dpScheduler" runat="server"
Days="1"
HeaderFontSize="8pt"
HeaderHeight="17"
EventHeight="30"
CellGroupBy="Hour" CellDuration="15"
HeightSpec="Auto"
Width="720"
TimeFormat="Clock24Hours"
CssClassPrefix="scheduler_silver_"
HourNameBackColor="#F0F0F0"
TimeRangeSelectedHandling="Hold"
TimeRangeDoubleClickHandling="CallBack"
OnTimeRangeSelected="dpScheduler_TimeRangeSelected"
OnTimeRangeDoubleClick="dpScheduler_TimeRangeDoubleClick"
OnCommand="dpScheduler_Command"
OnEventClick="dpScheduler_EventClick"
OnBeforeTimeHeaderRender="dpScheduler_BeforeTimeHeaderRender"
OnBeforeResHeaderRender="dpScheduler_BeforeResHeaderRender"/>

Comment posted by Dan Letecky
14 years ago.

You can try TimeRangeSelectionHandling="HoldForever". That way the time range selection will survive the CallBack.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.