This is a migrated thread and some comments may be shown as answers.

Message Box Functionality and Telerik

2 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daryl
Top achievements
Rank 1
Daryl asked on 19 Aug 2014, 09:10 PM
First of all, a specific question.  Is there a way to use Telerik / ASP to display a message box directly from the code behind.   I am aware that I could use the code behind to trigger a javascript function that's 'hidden' and bound to an onchange event on an element that nobody sees.   However, I would prefer a more direct method of sending alerts to users form the code behind if possible.


Also, in general, how can telerik enhance message boxes?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 20 Aug 2014, 03:09 AM
Hi Daryl,

Telerik Supports RadAlert, RadConfirm and RadPrompt to show the message box. 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. The replacement dialog boxes are called with the radalert, radprompt and radconfirm methods, correspondingly. The replacement popups are implemented using RadWindow, and are a good deal more flexible than their browser counterparts. You can call these from both server side and client side. Please have a look into this help documentation and online demo for further information.

Thanks,
Shinu.
0
Marin Bratanov
Telerik team
answered on 20 Aug 2014, 07:55 AM

Hi guys,

I would also like to add the Notification control to this list. It provides the ability to show it with a new text from the code behind (http://demos.telerik.com/aspnet-ajax/notification/examples/servershowwithnewtext/defaultcs.aspx); timed updates (http://demos.telerik.com/aspnet-ajax/notification/examples/updateinterval/defaultcs.aspx) and easy to change icons (http://www.telerik.com/help/aspnet-ajax/notification-embedded-icons.html). It can also play a sound when it is shown (http://www.telerik.com/help/aspnet-ajax/notification-play-sound-on-show.html).


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Daryl
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or