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

separator adding

Asked by raja
12 years ago.

how to add separators in daypilot scheduler in asp.net.

Answer posted by Dan Letecky [DayPilot]
12 years ago.

You can do it in the .aspx file:

    <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>

You can also add it in the code behind:

    protected void Page_Load(object sender, EventArgs e)
    {
        DayPilotScheduler1.Separators.Add(DateTime.Today, Color.Red);
    }
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.