Looking for a way to prevent a specific HTML tag from being printed in my ASP.NET project view file, whether through a printer or to a PDF file.
Are there any HTML or CSS attributes that can help achieve this? How should they be configured?
I have already attempted solutions provided in similar questions on StackOverflow without success.
Below is the HTML code I want to hide when printing:
<a href="@Url.Action(/*att1*/,/*att2*/)">PRINT</a>
Cheers!