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"
      <telerik:RadToolBarButton ToolTip="Delete" Value="deletecandidate" ImageUrl="images/16x16/Delete.png">
    <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" > 
    another is Candidates.aspx:
    <telerik:RadAjaxManager ID="CandidateAjaxManager" runat="server" OnAjaxRequest="OnMyAjaxManager_AjaxRequest"></telerik:RadAjaxManager> 
    <telerik:RadGrid ID="RadCandidateGrid" GridLines="None" Skin="Office2007"
    When user click button Delete on ToolBar, how to get the CandidateAjaxManager object  in Candidates.aspx  to call the ajaxRequest function (using client API)?

  2. Svetlina Anati
    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top