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

radalert (client side)

1 Answer 498 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Hema Raju
Top achievements
Rank 1
Hema Raju asked on 03 May 2010, 08:05 AM
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,


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 May 2010, 09:20 AM

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.

Tags
Ajax
Asked by
Hema Raju
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or