By default, when you click the download button, the download is handled internally by the document viewer. You can override the default behaviour by specifying your own url which handles the download.
public string DownloadUrl { get; set; }
Public Property DownloadUrl As String
Get
Set