You can replace the standard alert, confirm, and prompt dialog boxes that are provided by the browser when you call the window.alert, window.prompt and window.confirm commands. These replacement dialog boxes are called with the radalert, radprompt and radconfirm methods, correspondingly.
A RadWindowManager must be present on the form in order for you to use the radalert, radconfirm, and radprompt dialogs.
The replacement popups are implemented using RadWindow, and are a good deal more flexible than their browser counterparts:
You can modify the look and feel of most aspects of these dialogs and it's easier to get information to and from them.
Their appearance is unified across all browsers so your users get the same experience in all cases.
They use the same skins the rest of the Telerik controls on your site use to match the rest of the UI. The skin that they use is selected using the
Skinproperty of the RadWindowManager that creates them.
Unlike browser popups, which can only display text, you can pass HTML to the RadWindow popups for a richer user experience and improved usability.
The Telerik replacement dialogs allow arbitrary content, so you have the option to display rather large messages or even graphics. To ensure proper appearance, you must set the dialog dimensions (they are passed as arguments to the corresponding method) to values that will accommodate your content.
Since Q1 2011 the RadWindowManager offers built-in server-side methods to call the RadAlert, RadConfirm and RadPrompt dialogs.
Since Q1 2012 the RadAlert and RadConfirm dialogs offer the option to accept a URL for an image that will be displayed on the left instead of their default icon for both the server-side and client-side methods.