Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


This is a also a simple dialog but can be used to alert the user on the action done. This dialog accepts the property driven text or plain text as error message with the Ok button.
The typical structure of the message dialog is:
var Message_Win = new canvas.Dialog({title : 'Error',
dialogType : 'ERROR',
message : 'Detailed error message', okHandler : function ()
{
//Your OK action goes here
}
});

Refer the following sample dialog for its usage:
var AlertExistsWin = new canvas.Dialog({title : 'Error',
dialogType : 'ERROR',
message : 'Alert Id exists already', okHandler : function ()
{
fm.setFocus("TXT_ALERT_ID"); AlertExistsWin .close();
}
});

  • No labels