Unplanned
Last Updated: 31 Aug 2020 13:28 by Wardeaux
Wardeaux
Created on: 27 Aug 2020 18:37
Category: FileDialogs
Type: Bug Report
1
FileExplorer Control throws exception

Dear sirs,

 i am using the RadFileExplorer control within my Winforms application. I experience exceptions with the stock control from within your demo application using this control.

See attached animated GIF

Steps to reproduce:

1) open a Windows file explorer and browse to any folder like E:\TEMP

2) Create two empty folders in the target destination of E:\TEMP

3) open the winforms demo app and open the "File Dialogs" screen. Open the RadFileExplorer sample

4) browse to the same location as your File Explorer (like E:\TEMP) where you created the new folders

5) from within the RadFileExplorer control, delete one of the folder. all works well

6) In the Windows File Explorer, create a new folder. It will appear within the RadFileExplorer display.

7) close the RadFileExplorer demo screen, reopen the RadFileExplorer demo screen

8) browse to the same location as before (E:\TEMP)

9) From within either the RadFileExplorer control OR the Windows File Explorer delete the new folder created in set 6 above

** Exception: "Changing Children Collection of an already disposed element"

Attached Files:
5 comments
Wardeaux
Posted on: 31 Aug 2020 13:28

Thank you Dess,

  as always you guys are AWESOME! :)

ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 31 Aug 2020 08:00
Hello, Wardeaux,

I would like to note that Nadya is out of office this week so I will be assisting you with this thread.

Thank you for the provided clarification. I was able to replicate the error you are facing. 

I have logged it in our feedback portal by making this thread public on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.
Due to the specificity of the issue, I am unable to suggest a suitable solution. I have increased the priority of this issue and we will do our best to introduce a fix accordingly. Make sure that you click the Follow button in order to get notified once the status of this item changes.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Attached Files:
Wardeaux
Posted on: 28 Aug 2020 14:52

let me clarify one of my comments :D
i said:
Please note that you do NOT close the entire Demo application, just the RadFileExplorer demo, then relaunch the RadFileExplorer demo. I show this step clearly in the video. :)

it should say:

Please note that you SHOULD NOT close the entire Demo application, just the RadFileExplorer demo, then relaunch the RadFileExplorer demo. I show this step clearly in the video. :)

sorry for that :D

Wardeaux
Posted on: 28 Aug 2020 14:48

Hi Nadya,

  thank you for your reply and the suggestions and video. In your video of the Demo application you did not close the RadFileExplorer demo and reopen... the exception seems to be related with reloading the control once it has already been opened. Be careful NOT to close the entire Demo app as this seems to reset whatever state appears to be causing the exception.  Please see the attached gif of the same sequence you do in your video EXCEPT i close the RadFileExplorer demo (not the whole demo application) and relaunch the File Explorer demo

Note, i updated to the latest Winform demos app per your request. I am not able to update the Telerik library at this point to run your project because we in the middle of a release/code lockdown. However i believe the Demo app should be using the latest? ;)

Please note that you do NOT close the entire Demo application, just the RadFileExplorer demo, then relaunch the RadFileExplorer demo. I show this step clearly in the video. :)

thank you for your patience! :D

 

Attached Files:
ADMIN
Nadya
Posted on: 28 Aug 2020 07:05

Hello, Wardeaux,

Thank you for the provided video and description.

I followed carefully the provided steps that you described. However, I can not reproduce the exception on my end. I tried it both with the Demo application and in a separate project. In the attached gif file you can see the steps that I follow and the result. When deleting a folder, then adding a new, then delete it again through FileExplorer control there is no exception on my end. Am I missing something? I noticed that you are using the R1 Telerik version this is why I test it with this version as well and again I can not reproduce it.

I attached my test project. Is it possible to run it and test how it works on your end with the latest version? The exception says that it is trying to change children's collection of an already disposed element. However, it is necessary to succeed in replicating the issue locally in order to investigate what cause it. Thank you in advance for your consideration.

I am looking forward to your reply.

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).