Devexress callback control handle callback exception
===

I use aspxcallback in my asp.net pages and make some work in this callbacks. when i get exception i handled the CallbackError event in client side and wrote the code 

`e.handled=true;                        
ASPxLabelBilgi.SetText(e.message);
ASPxPopupControlBilgi.Show();`

this works fine. But i added some other code to catch exceptions, log them and show userfriendly messages to end user like  

    HttpServerUtility server = HttpContext.Current.Server;
            Exception exp = server.GetLastError();
            System.Web.HttpContext context = HttpContext.Current;
            context.Server.ClearError();
            throw new Exception("my friendly message");

this code also works fine in local this means when an exception occur i see the friendly message.

Here is the problem when i deploy the website to server i cant see the friendly message i see the message of devexpress "A callback error has occured" sth like this.

How can i convert exception  message to my friendly message to show in callbackError event in devexpress controls



