FileBrowserContentProvider - ImageManager always requesting root folder

3 posts, 1 answers
  1. Pat
    Pat avatar
    58 posts
    Member since:
    Feb 2005

    Posted 10 May 2011 Link to this post

    Just realized that while our custom file provider for the various managers like image, documents, etc is working in that it's returning the correct directory structure and I can navigate the tree on the left, it doesn't matter which node on the left I click, when our custom FileBrowserContentProvider class is called at the server, it's always requesting the root directory, so I can't browse any files below the root directory.

    What should I look for? What piece of data is the client telerik image manager using to call back to the server? Where is that data coming from?

    Frustrating cause the tree on the left is correct, while debugging, I see it loading the tree correctly and also loading all the files for those directories, just that the interface only ever requests the root node.

    It use to work, just can't figure out what I changed.
  2. Answer
    Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 12 May 2011 Link to this post

    Hi Pat,

    This behavior might occur if the content provider does utilize the permissions to the sub folders? Have you overridden the CheckDeletePermissions(), CheckWritePermissions() and CheckReadPermissions() methods? These methods are not required to be overridden but it is highly recommended to do so. Also, the CheckReadPermissions() methods was introduced in version 2010.2.826 of the control.

    To be able to provide more to the point answer we will need to examine and debug the custom content provider locally? Could you please provide a sample runnable project implementing the provider?

    Regards,
    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. Pat
    Pat avatar
    58 posts
    Member since:
    Feb 2005

    Posted 13 May 2011 Link to this post

    That was it.  Thanks!
Back to Top