The RadAlert accepts an HTML string to display. Characters such as \r and \n are used in a different context and it is the developer's responsibility to handle such cases. I cannot be sure what are all the possible characters that can be present in an error message, yet here is a sample google search on the matter: http://www.google.com/search?&q=SQL+queries+special+characters
and one msdn article you may also find useful http://msdn.microsoft.com/en-us/library/aa226544(v=sql.80).aspx
Another possible approach is to escape the whole string, i.e.:
sender, EventArgs e)
message = @
"RadAlert called from server. \n\r"
RadWindowManager1.RadAlert(message, 300, 100,
to see the difference between the string output via Response.Write and the HTML string. You could also try an encoding method, for example HttpUtility.UrlEncode(), but if it will work for you depends on your custom scenario.
the Telerik team