'Issue with a href link

I know it might look like a silly question but I am asking after spending a lot of time to figure it out.

I am trying to figure out from where the following link opening a window to download files

<h3>@Umbraco.GetDictionaryValue("ProductsPage_Download_CadDownload_Text", "CAD Downloads")</h3>
                                        <a id="downloadcad" class="blue-btn icon-btn disabled" href="/cad-download" data-requestaction="down" target="_self"><i class="download cad"></i>@Umbraco.GetDictionaryValue("ProductsPage_Download_CadDownload_Link_Text", "Download CAD File")</a>

It seems like a simple link in a .cshtml page that is opening a "/cad-download" page/window. But the problem is there is no cad-download page/route/window or anything in project that I have but it work fine.

Any ideas would be really appreciated!



Solution 1:[1]

The A tag has an ID and a data attribute, and the URL doesn't contain an identifier. It looks like the link is being handled with JavaScript.

Search for references to the ID downloadcad or the data attribute requestaction and value down in the JavaScript included in the page and I expect you'll find the code that makes the download work.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jason Elkin