Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxFileManager - How to show a confirmation dialog to overwrite an existing file

$
0
0

This example illustrates how to show a conformation message to overwrite an existing file in the ASPxFileManager.

The conformation message is shown in the client-side ASPxClientFileManager.FileUploading event and gives an option to the user to either overwrite the existing file or cancel the operation. User's selection is then transferred to the server-side via an ASPxHiddenField. If the user chooses to overwrite the file, the existing file will be deleted in the ASPxFileManager.FileUploading event.

This example is also available in MVC:
FileManager - How to show a confirmation dialog to overwrite an existing file

Question Comments

Added By: Sankarvarma varma at: 2/19/2015 2:27:47 AM    

Hi,still got a problem with Overwriting file in the file manager control.It Shows all pop Up as Expected,and  ASPxFileManager1_FileUploading event is executed without bugs(commented  e.cancel==true and throwException lines ) but the expecetd file is not uploaded.Could you please Help me to reach out.

Added By: Larry (DevExpress Support) at: 2/19/2015 2:41:06 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T210786: ASPxFileManager does not overwrite an existing file. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>