Home Unanswered Active Tags New Question

Line for actual time

hello!

Is it possible to show a line for the actual time in the scheduler control?

greetins

Stefan

Asked by Stefan Lederer 3 years ago.
Replies

Yes. You should take a look at Separators property.

It's a collection of separators - 1px lines that are drawn at specified times (Separator.Location) with specified colors (Separator.Color).

An example can be found in Demo/Scheduler/Default.aspx:

<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" ... >
  ...
  <Separators>
    <DayPilot:Separator Color="green" Location="02/01/2008 12:00:00" />
    <DayPilot:Separator Color="green" Location="02/03/2008 12:00:00" />
    <DayPilot:Separator Color="red" Location="02/02/2008 00:00:00" />
  </Separators>
</DayPilot:DayPilotScheduler>
Comment posted by Dan Letecky 3 years ago.

Is there a similar feature for the calendar control?

This would be very useful as a temporary measure until "(F81) Both horizontal and vertical scrollbars (at this moment only vertical scrollbar is available)." is complete.

Comment posted by Anonymous 3 years ago.
New Reply
This reply is
Your name (optional):

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