Month: Integrated Message Bar

 month-message-bar.png

The message bar can be updated easily using a single line of code and without any JavaScript on the client side. Use the UpdateWithMessage() method:

  • UpdateWithMessage(string message)

Example

Default.aspx.cs

    protected void DayPilotMonth1_EventResize(object sender, EventResizeEventArgs e)
    {
        // ...
        DayPilotMonth1.UpdateWithMessage("Event resized");
    }

Close Button

message-bar-close.png

The message bar invoked using UpdateWithMessage() method is visible for 20 seconds.

  • If there is a new message during that time, the message bar fades out and in to give a visual feedback.
  • It can be closed using an "X" button on its right side.

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