Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxFileUpload How Do I get File Path?

$
0
0

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?


Viewing all articles
Browse latest Browse all 5678

Latest Images

Trending Articles



Latest Images

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