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

After Rename, RadFileExplorer does not refresh Grid

9 Answers 327 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Gerrit du Preez
Top achievements
Rank 1
Gerrit du Preez asked on 03 May 2010, 01:59 PM
Hi there

I picked up an issue when renaming a folder in the RadFileExplorer.  I had a look at your online demo's and the same happens there as well.

If you look at the following demo: FileExplorer / Custom File Content Provider

http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/dbfilebrowsercontentprovider/defaultcs.aspx

You can follow these steps to reproduce the problem.

  • Create a folder, e.g. "MyTest" under the existing "Fruits" folder.
  • The "MyTest" folder will display in the Tree view as well as the Grid view.
  • Rename it to "MyTest1" in the Tree view on the left hand side.
  • The folder is renamed in the Tree view and the Grid view shows the content of the folder
  • Now click on the parent "Fruits" folder in the Tree View.
  • The Tree view will display the correct new name, but the Grid view still shows the old name of "MyTest" (if it does not behave this way the first time, just repeat the steps of renaming the folder in the Tree view again).

When clicking a folder in the Tree view. the Grid view gets refreshed once, but then it seems as if it gets cached and when clicking it again, it shows the old data, even though a folder has been renamed in the meantime in the Tree view.

Any way to get around this problem?

Greetings

Gerrit

9 Answers, 1 is accepted

Sort by
0
Gerrit du Preez
Top achievements
Rank 1
answered on 10 May 2010, 09:03 AM
Any news on this?

Greetings

Gerrit
0
Accepted
Fiko
Telerik team
answered on 10 May 2010, 03:51 PM
Hello Gerrit,

The problem comes from RadFileExplorer's internal caching mechanism and we are aware of such issue in the recent release. We have already fixed it, however, in the code of the control and the changes will be available in one of the next internal builds.


Greetings,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Goran Mrvos
Top achievements
Rank 1
answered on 25 Oct 2010, 10:12 AM
Hi Fiko!

I have a similar issue. If i open the RadFileExplorer, then close it, then rename a file on the disk and then open the RadFileExplorer again, the file is not renamed. If I refresh the page, the RadFileExplorer shows the renamed file correctly.

I think the new internal build will fix the issue...so I wanted to ask if it's already available?

Greetings!
0
Fiko
Telerik team
answered on 28 Oct 2010, 06:22 AM
Hello Goran,

Your scenario is different than the one described in this thread and the behavior in your case is unexpected until if you use some caching on the browser. For example, if you open the RadFileExplorer control in a RadWindow, then the window (by default) will be cached on the page and if you open it again the old content will be shown. If this is you case, could you please set the ReloadOnShow="true" property of the RadWindow control in order to avoid the caching? If this does not help, could you please open a new support ticket and send me a runnable project which shows the problem? I will debug it and do my best to provide a working solution as soon as possible.

Kind regards,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Goran Mrvos
Top achievements
Rank 1
answered on 28 Oct 2010, 10:07 AM
Adding ReloadOnShow="true" worked!

Thank you very much...and also thanks for the explanation!

Best regards,
Goran
0
Neha
Top achievements
Rank 1
answered on 05 Feb 2014, 04:37 AM
I m using a Rad file explorer for file upload then there are two view tree view and grid view so in the grid view the list of all files are shown when I right click on the file name there are several option like "Delete", "Rename" Upload" so i click on rename the file in that option the file name are shown in input filed so my keyboard left and right arrow  key is not working t move forward and backward with the file name
0
Dobromir
Telerik team
answered on 05 Feb 2014, 08:28 AM
Hi Neha,

We are not aware of the described issue. However, the provided information is not enough. Could you please provide more details on the specific scenario?
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Are you able to reproduce the problem on the live demos? If so, could you please provide the exact steps the need to be executed in order to reproduce the issue?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

Looking forward to hearing from you,
Dobromir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Neha
Top achievements
Rank 1
answered on 05 Feb 2014, 10:27 AM
Net framework 3.5 and browser is firefox. chrome, and rad controls version is 2010.3.11096.35
0
Vessy
Telerik team
answered on 07 Feb 2014, 11:21 AM
Hello Neha,

Thank you for the additional information.

The version used by you is pretty old and the reported issue is not reproducible in the latest release of the controls. You could verify that in the FileExplorer's online demos. Upgrading to the latest version of the controls should fix the issue at hand.

Regards,
Veselina Raykova
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
FileExplorer
Asked by
Gerrit du Preez
Top achievements
Rank 1
Answers by
Gerrit du Preez
Top achievements
Rank 1
Fiko
Telerik team
Goran Mrvos
Top achievements
Rank 1
Neha
Top achievements
Rank 1
Dobromir
Telerik team
Vessy
Telerik team
Share this question
or