Overwrite existing files is not working

2 posts, 0 answers
  1. Ramyashree
    Ramyashree avatar
    29 posts
    Member since:
    Jan 2011

    Posted 09 Feb 2011 Link to this post

    Hi...
    I'm using the code below to upload image files to the folder 'UserUploadedImages' residing on server... I have set the 'OverwriteExistingFiles' property to true but still I can see duplicate image files in my server folder .. What could be wrong ....?
    <telerik:RadUpload UploadServiceUrl="/MyUploadHandler.ashx"
                              Name="radUploadImages"
                              OverwriteExistingFiles="True"
                              IsAutomaticUpload="false"
                              Filter="Image File (*.jpg;*.bmp;*.gif)|*.jpg;*.bmp;*.gif;"
                              UploadFinished="RadUpload_UploadFinished"
                              IsMultiselect="False"
                              MaxFileCount="1"
                              MaxFileSize="500000"
                              TargetFolder="UserUploadedImages"                           
                               >               
               </telerik:RadUpload>

    Thanks .,
    Ramya
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 Feb 2011 Link to this post

    Hi Ramyashree,

    I couldn't reproduce the issue on our side. Can you please have a look at the project I used for testing and let me know if I am missing something. Thank you in advance.

    All the best,
    Tina Stancheva
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
Back to Top