Hide URL Link during printing

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
aspsteve
User
Posts: 52

Hide URL Link during printing

Post by aspsteve »

When we print a report, the Project Name the Project Title comes up in the header and the url link comes up in the footer.

Is there a a way to suppress both or either of this information from showing up in the printed output?

Thank you,

Steve


darkdragon
User
Posts: 148

Post by darkdragon »

With the help of some custom css:

@media print {
         #elementID {display: none;}
      }

aspsteve
User
Posts: 52

Post by aspsteve »

Apologies as I am not very familiar with how the Styles are to be updated in ASP.Net Maker.

I pasted the code below into the User section of the Styles tab and I receive the error below

@media print {
         #elementID {display: none;}

Error

Finished npm install.
Compiling projetcname_style.scss...
Error: Failed to compile .scss file.
/* Error: Expected identifier.
 *      ,
 * 2063 | CODE: SELECT ALL
 *      |      ^
 *      '
 *   C:\Users\ADMINI~1\AppData\Local\Temp\2\zin11F.scss 2063:6  root stylesheet */

body::before {
  font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
      "Droid Sans Mono", monospace, monospace;
  white-space: pre;
  display: block;
  padding: 1em;
  margin-bottom: 1em;
  border-bottom: 2px solid black;
  content: "Error: Expected identifier.\a      \2577 \a 2063 \2502  CODE: SELECT ALL\d\a      \2502       ^\a      \2575 \a   C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\zin11F.scss 2063:6  root stylesheet";
}
Compiling tempus-dominus.scss...
Compressing tempus-dominus.min.css...
Compiling ewpdf.scss...
Compressing ewpdf.min.css...
Compiling adminlte.css...
Compressing adminlte.min.css...
Generation completed with error(s), please scroll up (if necessary) to check error(s) highlighted in red.

MichaelG
User
Posts: 1095

Post by MichaelG »

Do not copy "CODE: SELECT ALL"


Post Reply