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

Problem refreshing tree after node deletion

1 Answer 42 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
USI
Top achievements
Rank 1
USI asked on 30 May 2011, 03:55 PM
Hi,

I am facing a problem that I am unable to solve with the RadFileExplorer.

Let's say I have the next hierarchy nodes (as ilustraded in the attachement):

cms -> dir1 -> dir1.1

I am using the context menu on the tree (the context menu is built by my code depending on some rules) to trigger an ajax request that delete the selected node. If I trigger an ajax request to delete node "dir1" (current directory is dir1), the node is deleted on server side without problem but when the content provider tries to fetch directories again, this process tries to fetch the deleted directory which causes an error because the directory does not exists anymore.

I already tried to clear the nodes of TreeView right after my delete code but it does not solve the problem.

Can someone help me with that problem?

Best regards,
Michael Pinheiro



1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 02 Jun 2011, 12:22 PM
Hi Michael,

We are not aware of such problem and you are the first one to report it. Do you experience this behavior using the standard functionality of RadFileExplorer? If you have implemented custom delete functionality, in order to be able to provide more to the point answer we will need to examine and debug the code locally. Could you please open a formal support ticket and provide fully runnable sample project reproducing the issue?

In addition, RadFileExplorer heavily relies on ASP.NET client callbacks, which do not work very good with the MS Ajax framework, and this may be causing incorrect folder loading.

Best wishes,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
FileExplorer
Asked by
USI
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or