Thanks for writing.
I am afraid that I can not tell what is wrong in your application only with this code snippet. There is obviously something specific to your app that causes the message box to fail. Can you please attach your app so that I can debug it? I have changed this thread to a support ticket so that you can attach files.
All the best,
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal
to submit ideas, feedback and vote for them.