Restrict an user didn't allow the image to upload in to gallery with spaces included in image name

  •  02-10-2014, 1:26 AM

    Restrict an user didn't allow the image to upload in to gallery with spaces included in image name

    Hi,

     

                I am using Image Gallery (classic) in my asp.net application. When the user uploading an image into Gallery, If the uploaded

     

    image have the name containing spaces. Then the gallery doesn't allow that image to upload and want to show alert as 

     

    "Invalid File name Please remove spaces in the image name and upload again".

     

    how can I achieve this..? It's too late..

     

    Please give quick reply..

     

    Thanks in advance.. 


    Regards,
    Narendra
View Complete Thread