There is a radbutton in my page and I am writing some C# code in the button click event. In the C# code and I am parsing a date in a try block and if an exception is generated I want to display it and for that I used a radalert. But I found that the alert is displayed after all the c# lines of codes are executed. On debugging that line is executed without any error. Why the delay in displaying the alert, Is this a bug?