How to get the RadAjaxManager from RadPane content?

2 posts, 0 answers
  1. Nga
    Nga avatar
    6 posts
    Member since:
    Dec 2008

    Posted 08 Dec 2008 Link to this post

    I have 2 aspx pages:
    One is Default.aspx page:
    <telerik:RadToolBar ID="CandidateToolBar" Style="z-index: 90001" runat="server" Skin="Office2007"
    <Items> 
      <telerik:RadToolBarButton ToolTip="Delete" Value="deletecandidate" ImageUrl="images/16x16/Delete.png">
       </telerik:RadToolBarButton> 
    </Items> 
    </telerik:RadToolBar> 
    <telerik:RadSplitter ID="RadSplitterBrowser" runat="server" > 
      <telerik:RadSplitBar ID="RadSplitBar" runat="server" CollapseMode="Forward"</telerik:RadSplitBar> 
      <telerik:RadPane ID="radPaneContent" runat="server" Width="100%" ContentUrl="Candidates.aspx" > 
       </telerik:RadPane> 
    </telerik:RadSplitter> 
    another is Candidates.aspx:
    <telerik:RadAjaxManager ID="CandidateAjaxManager" runat="server" OnAjaxRequest="OnMyAjaxManager_AjaxRequest"></telerik:RadAjaxManager> 
     
    <telerik:RadGrid ID="RadCandidateGrid" GridLines="None" Skin="Office2007"
    </telerik:RadGrid> 
     
    When user click button Delete on ToolBar, how to get the CandidateAjaxManager object  in Candidates.aspx  to call the ajaxRequest function (using client API)?

    Thanks.
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Dec 2008 Link to this post

    Hi Nga,

    In order to reference the RadAjaxManager in the content page from the main page you should first reference the content page's window object. You can find a detailed explanation and demonstration of referencing content page in a splitter pane from the parent page and vice versa here. 

    In case you need further assistance, please prepare a fully runnable sample demo, open a new support ticket and send it to us along with a detailed explanation of the problem and the desired behavior. 

    Best wishes,
    Svetlina
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top