Tag: 锚定

ASP.NET添加httphandler来编辑下载的文件名

我的项目中有一个DownloadDocument.aspx页面,它的代码隐藏是DownloadDocument.aspx.cs 在我的DownloadDocument.aspx我有一个锚点,它采用如下动态链接: <a id="downloadLink" runat="server" style="margin:5px" href="https://stackoverflow.com/questions/12318715/asp-net-add-a-httphandler-to-edit-downloaded-file-name/”>Download current file 我想添加一个httphandler来控制下载的文件名,我该怎么做? 提前致谢。