MoveDirectory when old directory is selected throws error

7 posts, 0 answers
  1. Chris
    Chris avatar
    20 posts
    Member since:
    Jan 2009

    Posted 20 May 2009 Link to this post

    I've implemented my own custom content provider for the FileExplorer control to use a database as my filestore. My MoveDirectory implementation works fine except for one thing. If I have a folder selected (displaying its contents) in the FileExplorer, and I move it to a new folder, it throws an error after it moves it because it can't display the folder from the old location (where it was previously selected).

    I've tried to set the SelectedItemTag from the provider, but I don't think it is working.

    Is there a way I can tell the FileExplorer to select the folder at its new path?
  2. Chris
    Chris avatar
    20 posts
    Member since:
    Jan 2009

    Posted 21 May 2009 Link to this post

    This also happens when I delete a selected directory.

    To be more clear... What I get is a Callback Loading Error that displays the virtual path of the directory I just deleted, saying it is a null reference. I guess, technically, this is true, but I don't know why it is trying to load the directory after I delete it.
  3. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 22 May 2009 Link to this post

    Hi Chris,

    We are aware with such behavior and we are already fixed it. We recommend you download the latest internal build and replace the current Telerik.Web.UI.dll file with the downloaded one. We will include the changes in the next service pack - at the end of this month.

    I hope this helps.


    Sincerely yours,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. Jon
    Jon avatar
    26 posts
    Member since:
    Apr 2009

    Posted 27 May 2009 Link to this post

    Hello.

    I am experiencing a similar problem: I have most functions of MyCustomFileContentProvider working, including MoveDirectory (which is successful), but, after a MoveDirectory, if I then do an Upload to the renamed folder, the path includes the old directory name (before the MoveDirectory).

    I have tried the dll from Telerik.Web.UI_2009_1_525_trial_hotfix.zip.

    I assume (from the release notes that accompany) that this fix is not yet available (at least, not in this particular zip).

    Please advise: Is another specific report needed, or should I just wait for the next hotfix?

    Thanks.
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 29 May 2009 Link to this post

    Hello Jon,

    Unfortunately because of several other tasks with higher priority that took more time than planned, we haven't fixed this problem for the Q12009 SP2 release. We will do our best, however, to fix it for Q2 Beta in a couple of weeks or for the official Q2 release at the beginning of the July.

    We apologize for the caused inconvenience.


    All the best,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Jon
    Jon avatar
    26 posts
    Member since:
    Apr 2009

    Posted 29 May 2009 Link to this post

    Fiko,

    Thanks.

    Is there a code workaround that can be used in the meantime? Some way to re-resolve the root or node?

  7. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 01 Jun 2009 Link to this post

    Hello Jon,

    For the time being we cannot provide a solution for that issue, but we will do our best to fix it as soon as possible. We apologize for the caused inconvenience.

    All the best,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top