Can we produce alert sounds using radconfirm or radalert ?

4 posts, 0 answers
  1. saravanan k
    saravanan k avatar
    88 posts
    Member since:
    Mar 2010

    Posted 30 Jul 2010 Link to this post

    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
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 30 Jul 2010 Link to this post

    Hi Saravanan,

    Currently playing sounds is out of the scope of RadWindow functionality. You can play sounds manually when the RadWindow popups show. Here is some more information:

    http://webdesign.about.com/od/sound/a/play_sound_oncl.htm

    Use the RadWindowManager's OnClientShow handler.

    <%@ Page Language="C#" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     
    <head runat="server">
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <title>RadControls</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
     
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" OnClientShow="playSound" />
     
    <asp:Button ID="Button1" runat="server" Text="RadConfirm" OnClientClick="return popupAlert()" />
     
    <script type="text/javascript">
     
    function popupAlert()
    {
        radconfirm("confirm text", confirmFunc, 300, 100, "", "Win Title");
        return false;
    }
     
    function playSound(sender, args)
    {
        alert("play sound here");
    }
     
    function confirmFunc(returnValue)
    {
        alert("confirm function");
    }
     
    </script>
     
    </form>
    </body>
    </html>


    Regards,
    Dimo
    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
  3. saravanan k
    saravanan k avatar
    88 posts
    Member since:
    Mar 2010

    Posted 04 Aug 2010 Link to this post

    Can we some how 'link it to default windows sounds ' as when  an alert popups.So that there is no need to embed the sound into the Rad Window to play the sound
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Aug 2010 Link to this post

    Hi saravanan k,

    Please check your other forum thread on the same subject:
    http://www.telerik.com/community/forums/aspnet-ajax/window/alert-tones-in-radconfirm-or-radalert.aspx


    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
Back to Top