UpdateWithMessage change color MessageBox from behind
2 years ago.
HI,
in the ASP.NET WebForm project I have the DayPilotScheduler1 and I would like to customize the color of the message when I try to modify a schedule directly with drag and drop.
I would like to display the message with a red background when the modification is not allowed, and in green when the modification was successful.
Thank you
Protected Sub DayPilotScheduler1_EventMove(ByVal sender As Object, ByVal e As DayPilot.Web.Ui.Events.EventMoveEventArgs)
If e.OldEnd <= Date.Today Then
Dim message As String = "You can't move!"
LoadResourcesAndEvents()
DayPilotScheduler1.UpdateWithMessage(message)
Exit Sub
End If
End Sub
DayPilot