Maybe this has been answered in another thread but after a couple hours of searching I am unable to find the answer...
I have a RadAjaxManager on a page that I would like to cause a postback using the javascript code below
the codebehind gets called (as listed below) but the javascript *never* shows up on the page.
Is there something I should be doing different?
----webpage code----
----code behind----
I have a RadAjaxManager on a page that I would like to cause a postback using the javascript code below
the codebehind gets called (as listed below) but the javascript *never* shows up on the page.
Is there something I should be doing different?
----webpage code----
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblLabel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
----code behind----
Private Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
Me.RadAjaxManager1.ResponseScripts.Add("alert('This is an alert');")
End Sub
----javascript----
var arguments = '';
var ajaxManager = <%=RadAjaxManager1.ClientID %>;
ajaxManager.AjaxRequest(arguments);