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

Calendar: Integrated Message Bar

Asked by kodoth
10 years ago.

Hi Team ,
I am working with Calendar control,i want to know is there any way to set the message bar display time manually .
currently when the page get loaded first time the message bar is diaplayed only for 5 seconds and when a call back is happening from the calendar control ,the message is displayed for 20 seconds ,is there any way to make this equal say 20 seconds ... or manually set the time

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

At this moment you have to switch to manual message displaying using .message() -, AfterRenderJavaScript, and Update(object):

AfterRenderJavaScript="afterRender(data, isCallBack)"
function afterRender(data, isCallBack) {
  if (data.message) {
    dpc.message(data.message, 20000, "#fff", "#dc143c");;
Hashtable data = new Hashtable();
data["message"] = "Welcome!";

A convenient message bar customization is planned for DayPilot Pro for ASP.NET WebForms 7.0:

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