locked
AjaxFileUpload How Do I get File Path? RRS feed

  • Question

  • User1359038401 posted

    When using OnUploadComplete event from AjaxFileUpload I get full file path by using e.FileName in IE

    But, when I use Chrome I get only file name

    Example:

        protected void AjaxFileUpload1_OnUploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
        {
            string fullPath = e.FileName; // C:/ImageFolder/image.jpg
        }

    I want full path, so IE is fine.

    But using chrome I get only image.jpg.

    Is there a way to get full Path instead using e.FileName?

    Monday, January 21, 2013 4:47 AM

Answers

All replies