Problem with RadFileExplorer after updating to .net 4.0 and AjaxControlToolkit

8 posts, 0 answers
  1. Christian
    Christian avatar
    9 posts
    Member since:
    Jun 2010

    Posted 04 Feb 2011 Link to this post

    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
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 09 Feb 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Khanh Phan Van
    Khanh Phan Van avatar
    6 posts
    Member since:
    Aug 2009

    Posted 15 Feb 2011 Link to this post

    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
  5. Christian
    Christian avatar
    9 posts
    Member since:
    Jun 2010

    Posted 15 Feb 2011 Link to this post

    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
  6. Khanh Phan Van
    Khanh Phan Van avatar
    6 posts
    Member since:
    Aug 2009

    Posted 15 Feb 2011 Link to this post

    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
  7. Andrey
    Andrey avatar
    2 posts
    Member since:
    Feb 2011

    Posted 15 Feb 2011 Link to this post

    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.
  8. Christian
    Christian avatar
    9 posts
    Member since:
    Jun 2010

    Posted 15 Feb 2011 Link to this post

    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
  9. Andrey
    Andrey avatar
    2 posts
    Member since:
    Feb 2011

    Posted 16 Feb 2011 Link to this post

    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.


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017