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

Alert tones in radconfirm or radalert

3 Answers 89 Views
Window
This is a migrated thread and some comments may be shown as answers.
saravanan k
Top achievements
Rank 1
saravanan k asked on 30 Jul 2010, 06:47 AM
Hi Telerik Team,

                       I have used radconfirm in my application. Right now when that confirm box appears the system doesn't produce any alert tones similar to a simple javascript alert or confirm. The end user is very insisting on getting notified when this boxes appear. Can you help in this regards, is there any way?.

i have opened the radconfirm by this script,

radconfirm(confirmString, confirmCallBackFn, 400, 150, "", "Window Title");

Regards,
Saravanan K

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Jul 2010, 09:05 AM
Hello Saravanan,

Actually, we've had this feature implemented in one of the first versions of the RadWindow control (RadWindow for ASP.NET v1.x). We removed it however, due to customers' complaints. The problem is that a lot of users that work with corporate applications, don't have multimedia enabled on their PCs. Whenever these customers had a radalert / radconfirm / radprompt dialog opened in their browsers, they got a warning message from the browser about a missing multimedia plugin.

If you want to add such feature to our dialogs, you can use custom templates (more information on the subject is available here). What you can do is to simply embed a wave file in the template's code and it will be played whenever that popup is displayed.


Greetings,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
saravanan k
Top achievements
Rank 1
answered on 02 Aug 2010, 10:44 AM
Hi Georgi Tunev,

                      Thanks for the reply. I browsed through the link. Yes defenitely i have to use these templates to change the look and feel as well as produce the alert tones. Can you explain how to implement from scratch with some code snippets.

One more question, Where can i find the css styles defined for confirm,alert etc.

Regards,
Saravanan K
0
Georgi Tunev
Telerik team
answered on 05 Aug 2010, 07:21 AM
Hello Saravanan,

If you check the help article again, you will notice that the snippets are already there - all you need to do is to embed a wav file in the templates that you want to produce sound when opened.
for example:
<embed src="/site/pathtosoundfiles/alert.wav" height="0" width="0" style="display: none;"></embed>




Kind regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
saravanan k
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
saravanan k
Top achievements
Rank 1
Share this question
or