Disable the Find Error Message

This Page is locked
Modified: 2007/09/25 22:20 by ViaVE Visitor
From the MSDN forums:
you can prevent all error messages from appearing by overwrite the VEMap.ShowMessage(msg) function.


var errorMessage = null;
VEMap.ShowMessage = function(msg)
{
    //Using the ShowMessage to trap errors and do not show the error message
    errorMessage = msg;
}