Hi
I have a MasterPage "MP1" with RadAjaxManager, a Label named "Login" and one ContentPage.
On Content page there is a "Page1" with RadProxyManager.
Page1 has RadSplitter and one RadPane with "Page2" inside.
Inside Page2 I call a pop-up Page3 and from this last page I need to change a Label that is in MasterPage.
From Page3 I, when I close it, I can call a javascript function named "change_login" that is on Page1:
<telerik:RadCodeBlock ID="RadCodeBlock0" runat="server">
<script language="javascript" type="text/javascript">
// Passa valores por Ajax
function change_login(new_login){
//alert("def5: " + new_login);
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("Login;" + new_login);
return false;
}
</script>
</telerik:RadCodeBlock>
In MP1 I have AjaxRequest event:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
Dim sarr() As String = Split(e.Argument.ToString, ";")
If sarr(0) = "Login" Then
Login.Text = "New Login"
End If
End Sub
However when I call this function I can only see a postback on ContentPage.
I have no configuration on RadProxyManager and in RadAjaxManager I have:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ContentPlaceHolder1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Login" />
</UpdatedControls>
</telerik:AjaxSetting>
</telerik:RadAjaxManager>
Best regards
I have a MasterPage "MP1" with RadAjaxManager, a Label named "Login" and one ContentPage.
On Content page there is a "Page1" with RadProxyManager.
Page1 has RadSplitter and one RadPane with "Page2" inside.
Inside Page2 I call a pop-up Page3 and from this last page I need to change a Label that is in MasterPage.
From Page3 I, when I close it, I can call a javascript function named "change_login" that is on Page1:
<telerik:RadCodeBlock ID="RadCodeBlock0" runat="server">
<script language="javascript" type="text/javascript">
// Passa valores por Ajax
function change_login(new_login){
//alert("def5: " + new_login);
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("Login;" + new_login);
return false;
}
</script>
</telerik:RadCodeBlock>
In MP1 I have AjaxRequest event:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
Dim sarr() As String = Split(e.Argument.ToString, ";")
If sarr(0) = "Login" Then
Login.Text = "New Login"
End If
End Sub
However when I call this function I can only see a postback on ContentPage.
I have no configuration on RadProxyManager and in RadAjaxManager I have:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ContentPlaceHolder1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Login" />
</UpdatedControls>
</telerik:AjaxSetting>
</telerik:RadAjaxManager>
Best regards