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

Problem with RadFileExplorer after updating to .net 4.0 and AjaxControlToolkit

7 Answers 167 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 04 Feb 2011, 12:11 PM
Hi!

We just updated our site to use .net 4.0 and also we updated AjaxControlToolkit to version 4.1.40412.2. Im also pretty sure we use the 4.0 versions of telerik dll (2010.3.1109.40).
After the updates RadFileExplorer stoped working as it did before. I have attached a screenshot.

The problem is that when i click on an folder in the left pane, the animation starts in the right pane but it never ends and I cant see the content of my folder. Although when the control binds the first time I can se the contents of the root-folder and open the files there etc.

Any ideas what Im missing here?

Regards,

Christian

7 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 09 Feb 2011, 10:31 AM
Hi Christian,

This problem might occur if you are invoking an AJAX call that interferes with the RadFileExplorer's built-in update panel AJAX call (for example during OnClientItemSelected RadFileExplorer event). If this is the case, you can use a WebMethod to avoid this problem.

To be able to provide more-to-the-point answer we will need more detailed information on the specific scenario. Could you please provide a simple runnable project reproducing the problem so we can investigate it further?

All the best,
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.
0
Khanh Phan Van
Top achievements
Rank 1
answered on 15 Feb 2011, 09:35 AM
Hi Telerik Admin,

I have the same problem to Christian, was described more detail here:
1. At previous version of my app, I used Telerik.Web.UI 2009.3.1109.20, and everything worked good.
2. Current version, I used Telerik.Web.UI 2010.3.1312.40 to test new version of Telerik in my app, and the problem occured:
- Everything looked good except FileExplorer control.
- I built this Telerik with AjaxControlToolkit 4.1.40412.2, and every click to open folder in Folder Tree left panel, the FileExplorer just appeared a LoadingPanel but not shutdowned it.
- Using FireFox to debug with FireBug, I find that, when clicking in Folder Tree left panel, server just responsed
s{"count":0,"data":[]}
I deployed this app on Windows server 2003 32 bit, IIS 6, and .Net Framework 4 Please help me!
Thank you so much
0
Christian
Top achievements
Rank 1
answered on 15 Feb 2011, 09:54 AM
I did not find the problem with my code. When putting my code on an new empty page outside my project it works as it should. But in my project i try to set visible controls (rfeFileExplorer.VisibleControls) -property and used this function:

protected Telerik.Web.UI.FileExplorer.FileExplorerControls GetVisibleControls()
{
    Telerik.Web.UI.FileExplorer.FileExplorerControls explorerControls = 0;
 
    explorerControls |= Telerik.Web.UI.FileExplorer.FileExplorerControls.Grid;
    explorerControls |= Telerik.Web.UI.FileExplorer.FileExplorerControls.Toolbar;
    explorerControls |= Telerik.Web.UI.FileExplorer.FileExplorerControls.TreeView;
 
    return explorerControls;
}

I also have an updatepanel surrounding my fileexplorer, but this worked before and also works on my laboration page.

If I dont set this property it works and Im ok with that for now. But any suggestions are welcome.

// Christian
0
Khanh Phan Van
Top achievements
Rank 1
answered on 15 Feb 2011, 11:21 AM
Hi Telerik Admin,

After few hours debugging, I found that if we include "jquery.js" at <head></head> tag for others functions, error above will occur. But when remove jquery.js, some our functions will not work.

Telerik Admin sould check this, confirm and give some solutions to solve this.

Best regards,

Khanh
0
Andrey
Top achievements
Rank 1
answered on 15 Feb 2011, 03:54 PM
Hello,

I've faced with the same problem. After upgrade to .NET 4 FileExplorer does not work correctly (the content of right pane is loading only once). In my case I use a custom implementation of FileBrowserContentProvider that had worked ok before upgrade.

Wating for help.

Thanks in advance.
0
Christian
Top achievements
Rank 1
answered on 15 Feb 2011, 04:17 PM
I read Kahnh's post and tried it myself and removing jquery reference made it work, but still thats no option for me aswell.
Propably this solves your problem too Andrey.

Anyhow for now my fileexplorer work for some strange reason if I just dont use VisibleControls-property.

// Christian
0
Andrey
Top achievements
Rank 1
answered on 16 Feb 2011, 01:19 PM
Christian,

Thanks for reply. I tried the solution you proposed but unfortunately it does not work for me.

One thing I noticed is when I use the default provider (based on virtual paths) File Explorer works ok, but with custom provider it has problems. 

PS: My Telerik's build is 2010.3.1317.0.


Tags
FileExplorer
Asked by
Christian
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Khanh Phan Van
Top achievements
Rank 1
Christian
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Share this question
or