How can I restrict a user while uploading an image with name containing spaces

Last post 01-30-2014, 5:26 AM by narendrababu. 0 replies.
Sort Posts: Previous Next
  •  01-30-2014, 5:26 AM 79867

    How can I restrict a user while uploading an image with name containing spaces

    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..?

     

    Please give quick reply..

     

    Thanks in advance.. 

     


    Regards,
    Narendra
View as RSS news feed in XML