radalert (client side)

2 posts, 0 answers
  1. Hema Raju
    Hema Raju avatar
    13 posts
    Member since:
    Dec 2009

    Posted 03 May 2010 Link to this post

    Hi,

    I have a webpage with the following controls and javascript function

     function closeWin(args)
    {
      radalert("Hello world", "350", "150", "alert");
    }



    <telerik:RadAjaxPanel ID="UpdatePanel1" runat="server">

    <asp:LinkButton ID="btnOK" runat="server" OnClientClick="javascript:closeWin(0);"><span>OK</span></asp:LinkButton>
    <asp:LinkButton ID="btnCancel" runat="server" href="javascript:closeWin(-1);" ><span>Cancel</span></asp:LinkButton>

    </telerik:RadAjaxPanel>

    given the above code, i want to display alert using radalert, how to do it, please note i dont want to use server side code for registering the javascript function

    Thanks,


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 May 2010 Link to this post

    Hi Hema Raju,

    Your code works in my end after I add RadWindowManager on page. You need RadWindowManager added on page in order to show radalert.

    Have you added RadWindowManager on page?

    -Shinu.

Back to Top