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

Changing the name of folder for selected files.

3 Answers 54 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Anatoliy Abbott
Top achievements
Rank 1
Anatoliy Abbott asked on 22 Jul 2009, 01:55 PM

Hi!

This is what our customer services want.
When files uploaded from client to sever using 

<telerik:RadUpload


they want to change the name of the folder from which they picked up the files.
And it does not allow them to do this until application closed.
On the other hand the files can be deleted from this folder, they are OK.
But folder itself is not available for changing the name of folder.

We need to fix it. I am using Silverlight project in vs2008 and WPF RadUpload control.

Best Regards!

Anatoliy Abbott


 

Best Regards!Anatoliy Abbott 

3 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 23 Jul 2009, 03:13 PM
Hello Anatoliy,

Reading your post I realized you are using a Silverlight application (with the RadUpload control) inside a WPF application. Please correct me if I am wrong.

About the locked folder name.
When you are navigating the OpenFileDialog the WorkingFolder of the current process is changing, i.e the last folder from which you have selected files for upload appears to be the process's WorkingFolder. As the Windows cares about some vital process settings you can not change the folder that appears to be the WorkingFolder.

We hope this information will help you.

Best wishes,
Ivan
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.
0
Anatoliy Abbott
Top achievements
Rank 1
answered on 23 Jul 2009, 05:47 PM

Hi! Ivan.

Thank you for response.

I just want to make sure that we are on the same page.

In our case  the OpenFileDialog is closed, all files processed on server.

Is it true that when OpenFileDialog closed then the recent folder is still not available

for changing the name?

I seems like control itself holds folder and not OpenFileDialog.

Please, give me some feedbacks.

Best Regards!

Anatoliy Abbott.

0
Ivan
Telerik team
answered on 23 Jul 2009, 07:29 PM
Hello Anatoliy,

It is not RadUpload related issue. Even more it is not a Telerik or Silverlight related one. The working folder is a process related. As a little demonstration you can try the following sequence:
  1. Start your web-browser;
  2. Run a page with our upload control and browse to select a file (or more);
  3. Try to rename the last visited folder - the Windows will warn that operation is not possible;
  4. Open a new tab with your web-browser (without closing it) and navigate somewhere else - for example www.silverlight.net and then close the tab with our upload control (you can navigate in the same tab - it doesn't metter);
  5. Try to rename the last visited folder - the same warning again;
  6. Exit the browser and rename the folder - there will be no warning this time.

Regards,
Ivan
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.
Tags
Upload (Obsolete)
Asked by
Anatoliy Abbott
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Anatoliy Abbott
Top achievements
Rank 1
Share this question
or