This is a migrated thread and some comments may be shown as answers.

How to get the RadAjaxManager from RadPane content?

1 Answer 92 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Nga
Top achievements
Rank 1
Nga asked on 08 Dec 2008, 09:59 AM
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.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 10 Dec 2008, 08:43 AM
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.
Tags
Splitter
Asked by
Nga
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or