Hi There,
I have been reviewing quite a few forum posts and trying different suggestions, but I haven't found a solution that works for my situation. Help would be greatly appreciated. It's probably something simple that I'm missing.
I have a page that includes RadScriptManager, RadAjaxManager, RadSplitter, RadPane (with regular local content), RadSplitBar, and RadPane2 (contains other aspx pages like an iframe).
When RadPane2 contains another page, even if it's not an AJAX page, JavaScript calls to the RadAjaxManager from the primary page only fire the first time. I'm trying to call a method on the code behind page to update an item in a RadMenu.
If I have all the content is on one page without referring to a separate page, I can make multiple calls to the RadAjaxManager without problems.
Pieces of the code:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rmCounts"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server" >
<script type="text/javascript" language="JavaScript">
function countUpdate() {
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.ajaxRequest("updateCounts");
return false; }
</script>
</telerik:RadCodeBlock>
Example code behind method:
public void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
updateCountsCodeBehind();
}
Thanks,
Dan