Hi,
I am using the technique described on this forum for throwing a RadAlert on the server. Namely:
This seems to work great as long as there is not a RadAjaxPanel on the page.
If I remove the RadAjaxPanel from the code above everything works great. If I have the panel, I have to click on the button and post back twice before the alert shows. Any help would be great!
Thanks ... Ed
I am using the technique described on this forum for throwing a RadAlert on the server. Namely:
Telerik.Web.UI.RadAjaxManager.GetCurrent(Me.Page) |
| .ResponseScripts.Add("Sys.Application.add_load(function(){radalert('" & "Test" & "', 330, 210);})") |
This seems to work great as long as there is not a RadAjaxPanel on the page.
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| </telerik:RadAjaxManager> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| </telerik:RadWindowManager> |
| <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px"> |
| <asp:Button ID="Button1" runat="server" Text="Button" /> |
| </telerik:RadAjaxPanel> |
| </div> |
| </form> |
Thanks ... Ed