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

Updating RadTreeView

1 Answer 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
søren
Top achievements
Rank 1
søren asked on 29 Sep 2008, 09:17 AM

I have a webpage with a RadTreeView inside an RadAjaxPanel, and it has a contextmenu. In this contextMenu, there is an item called "EDIT ITEM", that opens a RadWindow where I can edit something.

On my webpage I also have and RadAjaxmanager.

When I return from the RadWindow, I want to update the RadTreeView inside the RadAjaxPanel.

I have this code in the ASPX-page:
<telerik:RadCodeBlock ID="cb1" runat="server">
<
script type="text/javascript">
function
pageReturning(arguments)
{
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.ajaxRequest(
"VisDet");
}
</script>
</
telerik:RadCodeBlock>

In the code behind  I have a method that is called, and that is working, because I have tried to add an Response.Redirect, and the method is called. But when I (inside that method) tries to update the radTreeView, then nothing happens.

Please help. I am getting frustrated, and I have use almost 2-3 days on that problem.

Søren

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 29 Sep 2008, 01:38 PM
Hi søren,

Please note that it is not supported scenario to use radAjaxManager and RadAjaxPanel which update common controls, in one application. Using both controls could cause a lot of problems and misconfiguration on the page. Note that single RadAjaxManager in the project could handle all needed scenarios

Best wishes,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
søren
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or